We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Astro v4.0.7 Node v21.2.0 System macOS (arm64) Package Manager npm Output server Adapter none Integrations none
No response
Trying to integrate a fresh Astro 4 instalation with tRPC, following the official docs here is not working.
This issue has been also mentioned here and here
Return a successful response when accessing http://localhost:4321/trpc/test or any other method under the endpoint.
https://github.com/cmnstmntmn/astro-trpc
The text was updated successfully, but these errors were encountered:
The root cause was the case of the method all instead of ALL; The lower case for method names were removed in v4.
all
ALL
https://docs.astro.build/en/guides/upgrade-to/v4/#removed-lowercase-http-method-names
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
Trying to integrate a fresh Astro 4 instalation with tRPC, following the official docs here is not working.
This issue has been also mentioned here and here
What's the expected result?
Return a successful response when accessing
http://localhost:4321/trpc/test or any other method under the endpoint.
Link to Minimal Reproducible Example
https://github.com/cmnstmntmn/astro-trpc
Participation
The text was updated successfully, but these errors were encountered: