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

Implement compareResultsUsingQuery helper function #10237

Merged
merged 3 commits into from
Oct 28, 2022

Conversation

benjamn
Copy link
Member

@benjamn benjamn commented Oct 27, 2022

This helper function demonstrates how we might use query syntax (and specifically a hypothetical @nonreactive directive) to direct the comparison of JSON result objects, ignoring certain (@nonreactive) parts of the objects, without modifying either object in the process.

Copy link
Member

@alessbell alessbell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't wait to use this! 🙇🚢

@benjamn benjamn merged commit ccbe0ad into release-3.8 Oct 28, 2022
@benjamn benjamn deleted the compareResultsUsingQuery branch October 28, 2022 20:03
@apollographql apollographql locked as resolved and limited conversation to collaborators Feb 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants