Skip to content
Pyck docs

nodeDataType

Since pyck v0.27.0

Fetches an object given its ID.

Served by: management

Name Type Default Description
id ID! ID of the object.

NodeDataType

Fetches one data type by its global ID. The inline fragment selects the DataType fields; the lookup returns null when no object has that ID.

query GetNodeDataType($id: ID!) {
nodeDataType(id: $id) {
id
... on DataType {
tenantID
name
slug
entity
version
}
}
}

Variables

{
"id": "<data type ID>"
}