Add GraphQL exactly_one_of validator
What does this MR do and why?
Add GraphQL exactly_one_of
validator. This is similar to !152229 (merged) but for cases where exactly one argument is required.
The builtin RequiredValidator actually does something similar but the error message is very generic and the syntax is also more verbose so I went with a custom validator.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Heinrich Lee Yu