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

validation: field selection merging #306

Closed
lrlna opened this issue Sep 21, 2022 · 2 comments · Fixed by #470
Closed

validation: field selection merging #306

lrlna opened this issue Sep 21, 2022 · 2 comments · Fixed by #470
Assignees
Labels
apollo-compiler issues/PRs pertaining to semantic analysis & validation

Comments

@lrlna
Copy link
Member

lrlna commented Sep 21, 2022

implement field selection merging, spec.

in the compiler's db, fields should likely still be separated, but have an api that provides access to the merged field selection which is to be used in validation.

@lrlna lrlna added the apollo-compiler issues/PRs pertaining to semantic analysis & validation label Sep 21, 2022
@yanns
Copy link
Contributor

yanns commented Mar 1, 2023

The validation should check if the fields can be merged or not?
Or should we also merge the fields? For which validation?

@yanns
Copy link
Contributor

yanns commented Mar 2, 2023

Maybe it's worth taking inspiration from sangria-graphql-org/sangria#12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
apollo-compiler issues/PRs pertaining to semantic analysis & validation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants