GraphQL schemas keep their directives when imported as a project
Importing a GraphQL schema as a project now keeps every directive the schema applies. See how GraphQL schemas import.
- Types, fields and enum values.
@deprecated,@key(fields: "id")and your own directives are kept with their arguments — on the class and on each property asx-graphql-directive, and per enum value underx-graphql-enum-value-directives. - Unions with a directive. A union such as
union Result @key(fields: "id") = A | Bnow keeps its member types too.
