Add SchemaName in Component GraphQL Query

Hi Sebastian,

There is a schemaId field in component requests in Graphql calls. Can schemaName also be added here?

Thank u

For inputs or outputs?

Outputs are essential, but inputs can also be useful.

I just checked the code and the schema name should actually be there already.

Yes, I checked the code and looked, but schemaName does not appear in __Dynamic data.

Thats a good point, I will have a look.

This also works if you do not use an editor token. The reason is that the schema name gets added before graphql and to not cause issues we do not modify content when queried by the UI. But we could make an exception here for graphql endpoint.

1 Like