# federated graph
directive @authenticated on ENUM | FIELD_DEFINITION | INTERFACE | OBJECT | SCALAR
type Query {
"Query.enumQuery @authenticated: subgraph-e Enum"
enumQuery: Enum! @authenticated
interfacesQuery: [Interface!]!
"Scalar.enumQuery @authenticated: subgraph-f Scalar"
scalarQuery: Scalar @authenticated
}
"""
Scalar
@authenticated initially added by subgraph-f Scalar
@authenticated applied to relevant field definitions and removed here
"""
scalar Scalar
"""
Enum @authenticated initially added by subgraph-e Enum
@authenticated applied to relevant field definitions and removed here
"""
enum Enum {
VALUE
}
"""
Interface @authenticated initially added by subgraph-f Interface
@authenticated applied to relevant field definitions and removed here
"""
type Interface {
"Interface.booleanField @authenticated: subgraph-f Interface"
booleanField: Boolean! @authenticated
"Interface.enumField @authenticated: subgraph-f Interface"
enumField: Enum! @authenticated
intField: Int!
"Interface.stringField @authenticated: subgraph-f Interface.stringField"
stringField: String! @authenticated
}
type Object implements Interface {
"Object.booleanField @authenticated: subgraph-f Interface"
booleanField: @authenticated
"Object.enumField @authenticated: subgraph-f Interface"
enumField: Enum! @authenticated
id: ID!
intField: Int!
objectOnlyBooleanField: Boolean!
"Object.objectOnlyEnumField @authenticated: subgraph-e Enum"
objectOnlyEnumField: Enum! @authenticated
"Object.scalarField @authenticated: subgraph-f Scalar"
scalarField: Scalar! @authenticated
"Object.stringField @authenticated: subgraph-e Interface.stringField"
stringField: String! @authenticated
}
"""
AnotherObject
@authenticated initially added by subgraph-f AnotherObject
@authenticated applied to relevant field definitions and removed here
"""
type AnotherObject implements Interface {
"AnotherObject.anotherObjectOnlyFloatField @authenticated: subgraph-f AnotherObject"
anotherObjectOnlyFloatField: Float! @authenticated
"""
AnotherObject.anotherObjectOnlyScalarField
@authenticated: subgraph-f AnotherObject, subgraph-f Scalar
"""
anotherObjectOnlyScalarField: Scalar! @authenticated
"""
AnotherObject.booleanField
@authenticated: subgraph-f AnotherObject, subgraph-f Interface
"""
booleanField: @authenticated
"""
AnotherObject.enumField
@authenticated: subgraph-f AnotherObject, subgraph-f Interface
"""
enumField: Enum! @authenticated
"AnotherObject.id @authenticated: subgraph-f AnotherObject"
id: ID! @authenticated
"AnotherObject.intField @authenticated: subgraph-f AnotherObject"
intField: Int! @authenticated
"""
AnotherObject.stringField
@authenticated: subgraph-e Interface.stringField, subgraph-f AnotherObject
"""
stringField: String! @authenticated
}