-
Notifications
You must be signed in to change notification settings - Fork 17
Closed
Labels
status: actionableReady for work to beginReady for work to begintype: featureNew functionality being addedNew functionality being added
Description
When querying Blocks, if a block is of the CorePostTerms block type, there's no way on the block to fetch the terms.
In the Block Editor I can see the terms:
However when querying for blocks, I cannot find any field in the Schema that would allow me to fetch these terms and make use of them.
I would like to be able to query the terms as a connection.
Something to the tune of:
query WysiwygField($uri: String! = "my-uri") {
nodeByUri(uri: $uri) {
id
uri
...on NodeWithEditorBlocks {
editorBlocks {
__typename
...on CorePostTerms {
## There's no way to query the terms here 🤔
terms { ## Would be great to be able to query like this
nodes {
__typename
id
name
}
}
}
}
}
}
}Metadata
Metadata
Assignees
Labels
status: actionableReady for work to beginReady for work to begintype: featureNew functionality being addedNew functionality being added
Type
Projects
Status
✅ Closed
