Cockpit-HQ / Cockpit

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

populate in GraphQL API seems broken #88

Closed belafonte closed 1 year ago

belafonte commented 1 year ago

Setting populate to 1 in a GraphQL query has no effect as seen in the attached image. Whereas setting the same populate option to 1 in the REST Api properly populates all linked items.

image
aheinze commented 1 year ago

Can't verify the issue. Which Cockpit version do you use?

belafonte commented 1 year ago

Cockpit 2.41.

Did some digging, seems to work with Collections, but not with Singletons.

aheinze commented 1 year ago

Thanks for reporting, this should be fixed now in the dev branch

belafonte commented 1 year ago

Great! Thank you