hygraph / gatsby-source-graphcms

The official Gatsby source plugin for GraphCMS projects

Home Page:https://graphcms.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Missing System Props (createdAt, ...)

phil-lgr opened this issue · comments

As above, we are missing the system level timestamps

image

@phil-lgr Thanks for reporting! I'll look at why these system fields are missing from the generated schema. In the meantime you can add them to the generated Asset fragment inside your project manually:

https://github.com/GraphCMS/gatsby-source-graphcms/blob/fe361131bac69a171f14226274b739b5bf62a9e0/demo/graphcms-fragments/Asset.graphql#L1-L18

Seems these fields (createdAt, updatedAt, publishedAt) are missing from fragments/types where localisation is present.

🎉 This issue has been resolved in version 2.0.0-next.7 🎉

The release is available on:

Your semantic-release bot 📦🚀

Thank you!