Cockpit-HQ / Cockpit

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

Add meta fields to GraphQL model definitions #151

Closed filipmiik closed 1 year ago

filipmiik commented 1 year 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 1 year 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 1 year ago

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

aheinze commented 1 year ago

Děkuji!

filipmiik commented 1 year ago

Danke auch! :)