Dmytro Til

Results 11 issues of Dmytro Til

Fix for the case when an optional variable is not provided

[Resolvers Composition](https://www.the-guild.dev/graphql/tools/docs/resolvers-composition) is a small, well maintained, and well tested package being part of [graphql-tools](https://www.the-guild.dev/graphql/tools)

Root field rules that aren't dependent on the parent could be executed before any of resolvers logic is executed. There is no way to execute rules assigned to Objects or...

https://www.the-guild.dev/graphql/shield/docs/advanced/fragments Some options: - Simply [wrap](https://www.graphql-tools.com/docs/schema-wrapping) the schema to create a proxy schema and assign rules to the proxy schema. In such a way all rules assigned to non-root fields...

Add Typescript typings to rule args (parent, args) depending on the used fragment and on the resolver the rule is assigned to. Use [GraphQL Code Generator](https://www.graphql-code-generator.com/) with [gql-tag-operations-preset](https://www.graphql-code-generator.com/plugins/presets/gql-tag-operations-preset) and [typescript-resolvers](https://www.graphql-code-generator.com/plugins/typescript/typescript-resolvers)....

Also, find the way to generate/check typings for rule args if the rule is assigned using directive

- Every (or certain) Object types could have a special `__auth` field of `AuthMetadata` type - `AuthMetadata` type could have 3 fields: `query: AuthMetadataQuery`, `mutation: AuthMetadataMutation`, `subscription: AuthMetadataSubscription` - Each...