·
16 commits
to main
since this release
Minor Changes
-
#7306
29de664
Thanks @kamilkisiela! - Updated federation-composition to
v0.21.0- Enhanced auth directive validation: The federation-composition now enforces correct
placement of auth directives (@authenticated,@requiresScopes,@policy) by rejecting
attempts to place them on interfaces, interface fields, or interface objects with the new
AUTH_REQUIREMENTS_APPLIED_ON_INTERFACEvalidation rule. - Transitive auth requirements checking: Added a new validation rule that ensures fields using
@requiresspecify at least the auth requirements of the fields they select. If a field doesn't
carry forward required auth directives, composition fails with a
MISSING_TRANSITIVE_AUTH_REQUIREMENTSerror. - Auth requirements inheritance: Interface types and fields now properly inherit
@authenticated,@requiresScopes, and@policydirectives from the object types that
implement them. @costdirective restrictions: The@costdirective can no longer be placed on interface
types, their fields, or field arguments. Invalid placements now result in composition errors
instead of being silently accepted.- Improved
@listSizevalidation: The directive now validates thatsizedFieldspoint to
actual list fields rather than integer counters. Additionally,slicingArgumentsvalidation has
been added to ensure only arguments that exist in all subgraphs are retained. - Fixed
EXTERNAL_MISSING_ON_BASErule: Resolved false positives when handling
@interfaceObjectcorner-cases, particularly for@externalfields on object types provided by
interface objects.
- Enhanced auth directive validation: The federation-composition now enforces correct
-
#7291
802315e
Thanks @adambenhassen! - eliminate clickhouse query timeouts
and improve read times of large amounts of traces in dashboard