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 to prevent all field types as @hidden #646

Merged

Conversation

priyam-atlas
Copy link
Contributor

The @hidden directive from Nadel has the effect of hiding a field from the overall schema. It’s possible for a customer to have a type where every field has a @hidden directive. This produces invalid GraphQL.

This PR takes care of this issue and returns an error whenever such a query is given.

Copy link

github-actions bot commented Dec 3, 2024

Test Results

  138 files  ±0  138 suites  ±0   57s ⏱️ -1s
1 021 tests +2  954 ✅ +2  67 💤 ±0  0 ❌ ±0 
1 029 runs  +2  962 ✅ +2  67 💤 ±0  0 ❌ ±0 

Results for commit c9f1b54. ± Comparison against base commit 94bbf14.

♻️ This comment has been updated with latest results.

bbakerman
bbakerman previously approved these changes Dec 9, 2024
gnawf
gnawf previously approved these changes Dec 9, 2024
@priyam-atlas priyam-atlas dismissed stale reviews from gnawf and bbakerman via 5305796 December 16, 2024 14:24
@priyam-atlas priyam-atlas merged commit 1030fc8 into master Dec 17, 2024
3 checks passed
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