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

Where does FieldSelectionMap validation take place? #150

Open
glen-84 opened this issue Jan 28, 2025 · 2 comments
Open

Where does FieldSelectionMap validation take place? #150

glen-84 opened this issue Jan 28, 2025 · 2 comments

Comments

@glen-84
Copy link
Contributor

glen-84 commented Jan 28, 2025

The spec states:

Validation of FieldSelectionMap scalars occurs during the composition phase

  1. ... but where exactly? Should there be a single post-merge (?) validation rule that validates FSMs, or multiple?
  2. What is the error code(s)?
  3. There may be overlap between these "rules" and Require Invalid Fields?
@PascalSenn
Copy link
Contributor

@glen-84 If i understand this correctly it should be in REQUIRE_INVALID_FIELDS

@glen-84
Copy link
Contributor Author

glen-84 commented Jan 29, 2025

So the Require Invalid Fields rule should just reference 6.3 Validation?

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

No branches or pull requests

2 participants