Cockpit-HQ / Cockpit

Cockpit Core - Content Platform
https://getcockpit.com
Other
338 stars 40 forks source link

Add meta fields to GraphQL model definitions #151

Closed filipmiik closed 9 months ago

filipmiik commented 9 months ago

Fixes inconsistency in provided meta fields/properties between REST API and GraphQL API. Following properties are added to GraphQL model definitions:

Context: https://discourse.getcockpit.com/t/help-where-to-find-relations-when-getting-content-item-of-type-tree/2450/4

aheinze commented 9 months ago

Hi 👋

Thank you for the contribution. May I ask you to put the _o attribute to the tree related array. It is only available in tree models.

Thanks!

filipmiik commented 9 months ago

Oh, sorry, thought it's available for all collections. Fixed :)

aheinze commented 9 months ago

Děkuji!

filipmiik commented 9 months ago

Danke auch! :)