Skip to content
New issue

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

fix(typescript-fetch): runtime validation works #287

Merged
merged 2 commits into from
Dec 21, 2024

Conversation

mnahkies
Copy link
Owner

solves #286

  • Use --enable-runtime-response-validation for the E2E tests
  • Refactor typescript-fetch response validation factory to share most of the implementation between schema builders
  • Fix the returned res of the response validation factory to be a Proxy to the actual res object, only intercepting the json method

@mnahkies mnahkies changed the title fix: fetch runtime validation fix(typescript-fetch): runtime validation works Dec 21, 2024
@mnahkies mnahkies merged commit cead53a into main Dec 21, 2024
4 checks passed
@mnahkies mnahkies deleted the mn/286/fetch-runtime-validation branch December 21, 2024 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant