-
-
Notifications
You must be signed in to change notification settings - Fork 251
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for
@oneOf
inputs (#1846)
* Add `ArgBuilder` derivation for `oneOff` inputs * Add rendering and introspection of `oneOf` inputs * Add tests for executing queries with `oneOf` inputs * Don't introspect `isOneOf` in `IntrospectionClient` * Add value type implementation * Rollback irrelevant changes * Fix Scala 3 derivation * Fix merge errors * PR comments * fmt * Add schema & input validations * Remove `nullable` methods and add schema validation tests * PR comments * fmt * Allow OneOf inputs to have a single field * Fix merging errors and add mima exclusions * Fix merging errors * Disable mima * Reuse `hasAnnotation` macro * Change `parentTypeName` to `parentType` on `__InputValue` * Remove `isOneOf` argument from `makeInputObject` * Fix mima * Micro-optimize validation * Reimplement handling of OneOf inputs via a PartialFunction * Fix Scala 2.12
- Loading branch information
1 parent
c76e2f5
commit b56673b
Showing
27 changed files
with
850 additions
and
136 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.