[2022-12] Revise IsVariableUsageAllowed to forbid nullable variable with default usage in non-nullable list position #1337
Labels
Action item 🎬
Ready for review 🙌
Action Item issues are reviewed and closed during Working Group meetings.
Relates to: graphql/graphql-spec#1002
We should move IsVariableUsageAllowed as IsVariableUsageAllowedLegacy in an appendix (or an addendum within the section) and add a new IsVariableUsageAllowed that turns this issue from a runtime error to a validation error. Use IsVariableUsageAllowedLegacy if you need to support legacy queries.
Video: https://youtu.be/nkPn-F_UBJo?list=PLP1igyLx8foH30_sDnEZnxV_8pYW3SDtb&t=2702
Actual action item timestamp: https://youtu.be/nkPn-F_UBJo?list=PLP1igyLx8foH30_sDnEZnxV_8pYW3SDtb&t=3452
Note: Action Item issues are reviewed and closed during Working Group
meetings.
The text was updated successfully, but these errors were encountered: