I am using the GraphQL API to pull the list of definitions from a model and match them with the elements to get their names.
It usually works fine, however I encountered a model that returns no definitions via the API call. They are on the contrary perfectly visible in the speckle viewer.
Here is a screenshot from the viewer, showing the matched definition and the name:
We’re planning to have a fix ready by end of the week. If your query does not use the query clause, if you remove it, things will probably work as expected.