-
Notifications
You must be signed in to change notification settings - Fork 10.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
enhancement(gatsby-source-contentful) publishedAt and firstPublishedAt fields #24303
Comments
Hello @thijs-van-der-velden! That would indeed be a nice feature. Would you be interested in creating a PR that would add that functionality? You would likely need to modify this file in contentful source. Also pinging @axe312ger. |
The gatsby source plugin uses the sync api. The delivery/sync api does not have access to this attribute: But the new Contentful graphql api does support this attribute: As soon the gatsby source plugin supports the contentful graphql api, this tickets should be solved automatically. (See disclaimer: https://www.contentful.com/developers/docs/references/graphql/#/introduction/basic-api-information) I'll readd it to the GitHub project so we can keep track of this :) |
Hiya! This issue has gone quiet. Spooky quiet. 👻 We get a lot of issues, so we currently close issues after 30 days of inactivity. It’s been at least 20 days since the last update here. Thanks for being a part of the Gatsby community! 💪💜 |
Hey again! It’s been 30 days since anything happened on this issue, so our friendly neighborhood robot (that’s me!) is going to close it. Thanks again for being part of the Gatsby community! 💪💜 |
Is this information available now? Having trouble locating it (7.6.1). In the interim, I am able to derive this information from |
Summary
Currently content nodes only pick up the
updatedAt
andcreatedAt
fields from the contentful API response. I would like to suggest a change to also include thepublishedAt
andfirstPublishedAt
fields.Motivation
I am working on a project that requires us to sort a list of entries by their publish date.
The text was updated successfully, but these errors were encountered: