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
typeQuery {
nullableField: String
}
extendschema@link(
url: "https://specs.apollo.dev/nullability/v0.3",
import: ["@catch", "CatchTo", "@semanticNonNullField"] # not importing @semanticNonNull here
)
extend schema @catch(to: THROW)
extend type Query @semanticNonNullField(name: "nullableField")
In ExtensionsMerger.mergeObjectOrInterfaceDirectives, @semanticNonNull is implicitly added to the field's type. Validation fails later when it's not imported.
The text was updated successfully, but these errors were encountered:
martinbonnin
changed the title
Using @semanticNonNullField without importing @semanticNonNull fails the codegen
Validate schema documents before merging type extensions
Oct 25, 2024
In
ExtensionsMerger.mergeObjectOrInterfaceDirectives
,@semanticNonNull
is implicitly added to the field's type. Validation fails later when it's not imported.The text was updated successfully, but these errors were encountered: