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

Feedback for schema-driven testing utilities #11817

Open
alessbell opened this issue Apr 29, 2024 · 1 comment
Open

Feedback for schema-driven testing utilities #11817

alessbell opened this issue Apr 29, 2024 · 1 comment

Comments

@alessbell
Copy link
Member

Issue Description

Starting with Apollo Client 3.10.0, we introduced new schema-driven testing APIs.

These utilities allow you to create a test schema with scalar mocks that can be used to mock fetch or used in combination with MSW to write integration- or E2E-style tests that also test the link chain. See the documentation for details. We've marked these APIs as experimental for this release to allow room for feedback and changes before we stabilize this API in 3.11.0.

If you would like to provide feedback or suggestions for improvement, please drop a comment below!

Link to Reproduction

N/A

Reproduction Steps

No response

@apollo/client version

N/A

@alessbell
Copy link
Member Author

One piece of feedback from @yaboi:

Is there a way to access a schema not available locally? Maybe with codegen or something?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants