Description
Add a where filter to the types field of the Space GraphQL type.
Schema
type SchemaType {
"""Types of the entity (which are entities themselves)"""
types(
where: EntityFilter, # <--------- NEW
first: Int! = 100,
skip: Int! = 0,
strict: Boolean! = true,
): [SchemaType!]!
}
Example query
query {
space(id: "25omwWh6HYgeRQKCaSpVpa") {
# Select the types in the space that are themselves "Property" type
types(where: {
typesContains: ["GscJ2GELQjmLoaVrYyR3xm"]
})
}
}
Description
Add a
wherefilter to thetypesfield of theSpaceGraphQL type.Schema
Example query