You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add TypeSystem directives support with introspection
This adds full TypeSystem directive support as requested in issue absinthe-graphql#1003:
- Add `applied_directives` field to all Type structs (Object, Scalar,
Field, Interface, Union, Enum, InputObject, Argument, Enum.Value)
- Preserve applied directives through the build phase from Blueprint
to final Type structs
- Add `__AppliedDirective` and `__DirectiveArgument` introspection types
- Add `appliedDirectives` field to `__Type`, `__Field`, `__InputValue`,
and `__EnumValue` introspection types
- TypeSystem directives can be applied to all spec-defined locations:
SCHEMA, SCALAR, OBJECT, FIELD_DEFINITION, ARGUMENT_DEFINITION,
INTERFACE, UNION, ENUM, ENUM_VALUE, INPUT_OBJECT, INPUT_FIELD_DEFINITION
The directive `expand` callback continues to work for transforming
type definitions at compile time, and applied directives are now
visible through introspection queries.
Closesabsinthe-graphql#1003
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
0 commit comments