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

Merge lresolver objects in schema execution #612

Merged
merged 26 commits into from
Feb 5, 2018

Conversation

freiksenet
Copy link
Contributor

TODO:

  • If this PR is a new feature, reference an issue where a consensus about the design was reached (not necessary for small changes)
  • Make sure all of the significant new logic is covered by tests
  • Rebase your changes on master so that they can be merged easily
  • Make sure all tests and linter rules pass
  • Update CHANGELOG.md with your change

Mike Fix and others added 26 commits January 10, 2018 18:29
…es (#586)

Fixing the args with zero value or false
* Also recreate astNode for fields

In a [previous commit](fd9f626) we added the `astNode` property in the `reacreateCompositeType` function. That resulted in cache control working with schema stitching but only for GraphQL Types. By recreating the `astNode` prop also in `fieldToFieldConfig` cache control also works for fields. This is required for caching fields and hence queries.

* Add ast to input field node too
…es (#586)

Fixing the args with zero value or false
* Also recreate astNode for fields

In a [previous commit](fd9f626) we added the `astNode` property in the `reacreateCompositeType` function. That resulted in cache control working with schema stitching but only for GraphQL Types. By recreating the `astNode` prop also in `fieldToFieldConfig` cache control also works for fields. This is required for caching fields and hence queries.

* Add ast to input field node too
…graphql-tools into mfix22-mergeObjectsInSchemaExecution
@freiksenet freiksenet changed the title Mfix22 merge objects in schema execution Merge lresolver objects in schema execution Feb 5, 2018
@freiksenet freiksenet merged commit 4a01e32 into master Feb 5, 2018
@freiksenet freiksenet deleted the mfix22-mergeObjectsInSchemaExecution branch February 5, 2018 11:00
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.

3 participants