hygraph / gatsby-source-graphcms

The official Gatsby source plugin for GraphCMS projects
https://graphcms.com
MIT License
145 stars 41 forks source link

Missing System Props (createdAt, ...) #118

Closed phil-lgr closed 3 years ago

phil-lgr commented 3 years ago

As above, we are missing the system level timestamps

image

ynnoj commented 3 years ago

@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

ynnoj commented 3 years ago

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

github-actions[bot] commented 3 years ago

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

The release is available on:

Your semantic-release bot :package::rocket:

phil-lgr commented 3 years ago

Thank you!