Open gmac opened 1 month ago
From https://github.com/graphql/composite-schemas-spec/blob/main/spec/Section%202%20--%20Source%20Schema.md#is.
If the arguments of “is” are mutually exclusive and fail composition in tandem, then why are they a single directive? Making them separate directives would make this impossible and push developers into the pit of success.
Alternatively; use @oneOf?
@oneOf
It's a single FieldSelectionMap argument in this PR.
FieldSelectionMap
From https://github.com/graphql/composite-schemas-spec/blob/main/spec/Section%202%20--%20Source%20Schema.md#is.
If the arguments of “is” are mutually exclusive and fail composition in tandem, then why are they a single directive? Making them separate directives would make this impossible and push developers into the pit of success.