Skip to content
This repository has been archived by the owner on Jul 6, 2020. It is now read-only.

Add support for Query type, add tests and filter out fields with argu… #135

Closed
wants to merge 2 commits into from

Conversation

andyrichardson
Copy link
Collaborator

@andyrichardson andyrichardson commented Dec 13, 2019

About

Fix #123

Changes

  • Add support for population on Query types (e.g. for supporting visitors)
  • Remove population of fields which contain arguments

Todo

  • Support (and convert vars to literals) for non-field types such as decorators
  • Decide on handling of vars

@andyrichardson
Copy link
Collaborator Author

Fixed an issue @kitten mentioned which is use of directives which contain variables.

We now have variable support - it's a matter of deciding whether we want to do take this route (I'm hearing good reasons both for and against)

Copy link

@JoviDeCroock JoviDeCroock left a comment

Choose a reason for hiding this comment

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

This looks absolutely amazing, nice work Andy 💯

},
FragmentDefinition: node => {
extractedFragments.push(node);
leave: extractedFragments.push(node);
Copy link
Member

Choose a reason for hiding this comment

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

This isn’t an object so leave here is actually a label 😅 seems like this change can be reverted 🙂

@kitten kitten closed this Feb 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Populate exchange + support for queries with variables
3 participants