René's URL Explorer Experiment


Title: Add support for Fastify server plugins. by mitchknife · Pull Request #59 · FacilityApi/FacilityJavaScript · GitHub

Open Graph Title: Add support for Fastify server plugins. by mitchknife · Pull Request #59 · FacilityApi/FacilityJavaScript

X Title: Add support for Fastify server plugins. by mitchknife · Pull Request #59 · FacilityApi/FacilityJavaScript

Description: This PR also gets conformance tests up and running. I chose not to create an Express conformance server, but I would think it would be pretty trivial. Conformance test methods NOT passing for the generated fastify plugin: mirrorBytes mirrorText bodyTypes I think the failures are due to the generated client not supporting a string body in the http response. It may be an issue with configuring the fastify server as well, I didn't look too closely into yet. I also wasn't sure how to generate the C# documentation using XmlDocGen.

Open Graph Description: This PR also gets conformance tests up and running. I chose not to create an Express conformance server, but I would think it would be pretty trivial. Conformance test methods NOT passing for the g...

X Description: This PR also gets conformance tests up and running. I chose not to create an Express conformance server, but I would think it would be pretty trivial. Conformance test methods NOT passing for the g...

Opengraph URL: https://github.com/FacilityApi/FacilityJavaScript/pull/59

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:f2ee6717-b28f-f724-4dbe-eed711b2ca8e
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idAE2C:10D9F8:35039A:48241A:6B00C53E
html-safe-nonce17ffff62bc11226a0e98a55e1061a0e3a542d129b26afed472dd1b8d5990db3a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRTJDOjEwRDlGODozNTAzOUE6NDgyNDFBOjZCMDBDNTNFIiwidmlzaXRvcl9pZCI6IjU4MzcwMjcxMjQ0ODA4ODYwNzgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac721292010a116bbea1e2d270eb339474b8ffb6f79f07cfcba169093018d6fb4f
hovercard-subject-tagpull_request:1649512795
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/FacilityApi/FacilityJavaScript/pull/59/files
twitter:imagehttps://avatars.githubusercontent.com/u/85185?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/85185?s=400&v=4
og:image:altThis PR also gets conformance tests up and running. I chose not to create an Express conformance server, but I would think it would be pretty trivial. Conformance test methods NOT passing for the g...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None93edd3bebc4afb7ce711ee74cb5d2a95927850b082a4d43e212222389cb1c415
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/FacilityApi/FacilityJavaScript git https://github.com/FacilityApi/FacilityJavaScript.git
octolytics-dimension-user_id22828021
octolytics-dimension-user_loginFacilityApi
octolytics-dimension-repository_id73533359
octolytics-dimension-repository_nwoFacilityApi/FacilityJavaScript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id73533359
octolytics-dimension-repository_network_root_nwoFacilityApi/FacilityJavaScript
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release1fee81a280ea86312b69448e261b418189bfd5b5
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/FacilityApi/FacilityJavaScript/pull/59/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FFacilityApi%2FFacilityJavaScript%2Fpull%2F59%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FFacilityApi%2FFacilityJavaScript%2Fpull%2F59%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=FacilityApi%2FFacilityJavaScript
Reloadhttps://github.com/FacilityApi/FacilityJavaScript/pull/59/files
Reloadhttps://github.com/FacilityApi/FacilityJavaScript/pull/59/files
Reloadhttps://github.com/FacilityApi/FacilityJavaScript/pull/59/files
FacilityApihttps://github.com/FacilityApi
FacilityJavaScripthttps://github.com/FacilityApi/FacilityJavaScript
Codehttps://github.com/FacilityApi/FacilityJavaScript
Issues6 (6)https://github.com/FacilityApi/FacilityJavaScript/issues
Pull requests6 (6)https://github.com/FacilityApi/FacilityJavaScript/pulls
Actionshttps://github.com/FacilityApi/FacilityJavaScript/actions
Security and qualityhttps://github.com/FacilityApi/FacilityJavaScript/security
Insightshttps://github.com/FacilityApi/FacilityJavaScript/insights
Sign up for GitHub https://github.com/signup?return_to=%2FFacilityApi%2FFacilityJavaScript%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FFacilityApi%2FFacilityJavaScript%2Fissues%2Fnew%2Fchoose
mitchknifehttps://github.com/mitchknife
FacilityApi:masterhttps://github.com/FacilityApi/FacilityJavaScript/tree/master
mitchknife:fastifyhttps://github.com/mitchknife/FacilityJavaScript/tree/fastify
Conversation 2 https://github.com/FacilityApi/FacilityJavaScript/pull/59
Commits 19 https://github.com/FacilityApi/FacilityJavaScript/pull/59/commits
Checks 0 https://github.com/FacilityApi/FacilityJavaScript/pull/59/checks
Files changed https://github.com/FacilityApi/FacilityJavaScript/pull/59/files
Please reload this pagehttps://github.com/FacilityApi/FacilityJavaScript/pull/59/files
Add support for Fastify server plugins. https://github.com/FacilityApi/FacilityJavaScript/pull/59/files#top
Show all changes 19 commits https://github.com/FacilityApi/FacilityJavaScript/pull/59/files
04b7493 Make failed expectations more clear in conformanceApiTests.ts. mitchknife Dec 15, 2023 https://github.com/FacilityApi/FacilityJavaScript/pull/59/commits/04b7493fb7aca8ca603d282bbbcb7f6428dca802
b6f838e Clean up conformance test runner. mitchknife Dec 15, 2023 https://github.com/FacilityApi/FacilityJavaScript/pull/59/commits/b6f838e5672a6fcb20c1fe6798445981f0ca6085
c11db89 Add simple working fastify app for conformance tests. mitchknife Dec 15, 2023 https://github.com/FacilityApi/FacilityJavaScript/pull/59/commits/c11db89a344ef80d47057137aa513874f4cb9fc7
b4f1516 Add "hand rolled" ConformanceApi plugin. mitchknife Dec 15, 2023 https://github.com/FacilityApi/FacilityJavaScript/pull/59/commits/b4f1516a3c1fcf1da33a4756999d2556b178f077
724ddca Generate fastify plugin shell. mitchknife Dec 15, 2023 https://github.com/FacilityApi/FacilityJavaScript/pull/59/commits/724ddcaf5c476b007a96d7b050ddfc936224b55a
ae6f3b9 Fill out codegen for fastify plugin. mitchknife Dec 16, 2023 https://github.com/FacilityApi/FacilityJavaScript/pull/59/commits/ae6f3b9a33d7e3e036b12ce351fd180f4e0b2eea
0901688 Generate separate copy of types for fastify plugin. mitchknife Dec 16, 2023 https://github.com/FacilityApi/FacilityJavaScript/pull/59/commits/0901688a7cfc5746169561d08ed6e039896e54f2
862cc03 Consolidate duplicate code into local functions. mitchknife Dec 16, 2023 https://github.com/FacilityApi/FacilityJavaScript/pull/59/commits/862cc03ff43ab1b2ddcf0d2fd1297899399cbb14
9175554 Delete handRolledPlugin.ts mitchknife Dec 16, 2023 https://github.com/FacilityApi/FacilityJavaScript/pull/59/commits/9175554cbc812c2685acbf1de925f4477b31365c
a7a77ef Clean up plain js support. mitchknife Dec 16, 2023 https://github.com/FacilityApi/FacilityJavaScript/pull/59/commits/a7a77ef5cfad818b93f3fe21e7724ed2b36b78b1
dd18f5a Restructure conformance folder structure. mitchknife Dec 17, 2023 https://github.com/FacilityApi/FacilityJavaScript/pull/59/commits/dd18f5a8635b8a3713c4f569944dcaab7b095ae1
6470f1d Only generate fastify plugin when option is supplied. mitchknife Dec 17, 2023 https://github.com/FacilityApi/FacilityJavaScript/pull/59/commits/6470f1db36cda44256825c71e2fb197c65775cd7
da68074 Validate ConformanceTests.json before running tests. mitchknife Dec 18, 2023 https://github.com/FacilityApi/FacilityJavaScript/pull/59/commits/da680744ce95bb4a526d4903231c0bc8605bae81
26b39c1 Support raw http requests in conformance tests. mitchknife Dec 18, 2023 https://github.com/FacilityApi/FacilityJavaScript/pull/59/commits/26b39c158eba0b75bff33ad6618c6e7969dc98ee
c576130 Support case insensitive querystring keys in fastify plugin. mitchknife Dec 18, 2023 https://github.com/FacilityApi/FacilityJavaScript/pull/59/commits/c576130b3c30bd457664c36b17361b02f73636f0
d7bfd59 Enable case insensitve routing for fastify conformance servers. mitchknife Dec 18, 2023 https://github.com/FacilityApi/FacilityJavaScript/pull/59/commits/d7bfd596ff383efb4ef782b5485653d5c36b56b0
6102789 Add service error handling support to fastify plugin. mitchknife Dec 18, 2023 https://github.com/FacilityApi/FacilityJavaScript/pull/59/commits/610278928d806d12077760406d223035af8c5ae3
c625c24 Add clarifying doc comments. mitchknife Dec 18, 2023 https://github.com/FacilityApi/FacilityJavaScript/pull/59/commits/c625c24c46f61538d1a9c597d2c4e4dceeb77b15
0c72936 Run conformance js and ts fastify plugins together. mitchknife Dec 19, 2023 https://github.com/FacilityApi/FacilityJavaScript/pull/59/commits/0c72936001f8deea44767d0234e7e45e95a674e1
Clear filters https://github.com/FacilityApi/FacilityJavaScript/pull/59/files
Please reload this pagehttps://github.com/FacilityApi/FacilityJavaScript/pull/59/files
Please reload this pagehttps://github.com/FacilityApi/FacilityJavaScript/pull/59/files
README.md https://github.com/FacilityApi/FacilityJavaScript/pull/59/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
.gitignore https://github.com/FacilityApi/FacilityJavaScript/pull/59/files#diff-5d56fe809da3134ec5ea473fdd64f559df089ef9814a3c0033ce0cd52650a3af
package-lock.json https://github.com/FacilityApi/FacilityJavaScript/pull/59/files#diff-77c3d37a6b848e0723de3fbba3211dae8c167b6f4d4e82483054cc86d700baea
package.json https://github.com/FacilityApi/FacilityJavaScript/pull/59/files#diff-b6221a1f1ba0205b79cfc69b296e168a60ae1178785cf9c5a791cc231804caa8
conformanceApi.ts https://github.com/FacilityApi/FacilityJavaScript/pull/59/files#diff-cdb344d4cef515547e194c5ce512710f53ebb1aafbd2832e36b07ae7e2c9fcbe
conformanceApiService.ts https://github.com/FacilityApi/FacilityJavaScript/pull/59/files#diff-c4f33602109ed78903e34f9d2391c8700d5f0d8f0ae786d54f1dbaf45232d0fc
conformanceApiTypes.ts https://github.com/FacilityApi/FacilityJavaScript/pull/59/files#diff-172e939622a97d4998f09c51eb2b68fff14ff98186dccc07319aace7a59983d3
app.ts https://github.com/FacilityApi/FacilityJavaScript/pull/59/files#diff-67d6c2862d5d3d45c5ccb4af17777a15fa2c14aa2e23b09e9ddfc3bf02ba42cc
conformanceApiPlugin.ts https://github.com/FacilityApi/FacilityJavaScript/pull/59/files#diff-3b0d2a73c71d77299adcbabb59d1b67026247a5c6d2dea2d8db55125fec13b93
jsConformanceApiPlugin.js https://github.com/FacilityApi/FacilityJavaScript/pull/59/files#diff-974ab7dce295d11bc6ae5fc2e1c21800d0907d642c2a617a926ab0872877c1ab
jsConformanceApi.js https://github.com/FacilityApi/FacilityJavaScript/pull/59/files#diff-f819617af4875c157ba9f3ab0816d2ed68e6b28f4793a0b070621a256e124c96
conformanceApiTests.ts https://github.com/FacilityApi/FacilityJavaScript/pull/59/files#diff-a20402c6ddd6a8a2b6271a949f5abe3b56de2f1395baf487fda624cad614a46d
.gitignore https://github.com/FacilityApi/FacilityJavaScript/pull/59/files#diff-06ad6b4c82e35dd8bb579278149c7813907881611f0c5934a18d0a1ac8204f1e
conformanceApiTests.ts https://github.com/FacilityApi/FacilityJavaScript/pull/59/files#diff-80bedada48b2942c0c03e0304abe68e36d2c98275c59bb3f54bf84e8314a48b9
tsconfig.json https://github.com/FacilityApi/FacilityJavaScript/pull/59/files#diff-b5ac2799874de2bd9a96cf40ede50202396989d890973d3a91d5d39a6af31410
tsconfig.json https://github.com/FacilityApi/FacilityJavaScript/pull/59/files#diff-b40aba3766e8611f3feb074cb42d479979d74fbcf8b20d62137d351dbc4e8d45
exampleApiServer.js https://github.com/FacilityApi/FacilityJavaScript/pull/59/files#diff-9f461cba4564f07b4e4c8d6f39700716b326bd8a450a95cd0778168afc7d467f
JavaScriptGenerator.cs https://github.com/FacilityApi/FacilityJavaScript/pull/59/files#diff-576178b24479d766dd3774c5329f82bc46df8c4997c83cadef91db766f2cc05a
JavaScriptGeneratorSettings.cs https://github.com/FacilityApi/FacilityJavaScript/pull/59/files#diff-1c45b0ba081585705352968f95ba9fc8cb4d263d2fb949ade10081202a238960
FsdGenJavaScriptApp.cs https://github.com/FacilityApi/FacilityJavaScript/pull/59/files#diff-101c6cbcfeb27a909cf07139192d92ceab4527f0d7aab7c40e218531e17886ff
Build.cs https://github.com/FacilityApi/FacilityJavaScript/pull/59/files#diff-00bd55c9c6201330d4718e1545eb619ba7e1d3468fdcda4f2b2ac372e0a128e3
README.mdhttps://github.com/FacilityApi/FacilityJavaScript/pull/59/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
View file https://github.com/mitchknife/FacilityJavaScript/blob/0c72936001f8deea44767d0234e7e45e95a674e1/README.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/FacilityApi/FacilityJavaScript/pull/59/{{ revealButtonHref }}
https://github.com/FacilityApi/FacilityJavaScript/pull/59/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
conformance/.gitignorehttps://github.com/FacilityApi/FacilityJavaScript/pull/59/files#diff-5d56fe809da3134ec5ea473fdd64f559df089ef9814a3c0033ce0cd52650a3af
View file https://github.com/mitchknife/FacilityJavaScript/blob/0c72936001f8deea44767d0234e7e45e95a674e1/conformance/.gitignore
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/FacilityApi/FacilityJavaScript/pull/59/{{ revealButtonHref }}
Please reload this pagehttps://github.com/FacilityApi/FacilityJavaScript/pull/59/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.