publishDate now gets fetched from articles in Prismic. We actually thought we already had it as it's being used elsewhere in the code, but it seems it was never there to start with (or maybe a too-thorough cleanup happened at some point).
How to test
Snapshots have been updated and a new article with a publishDate value was added to the mix.
How can we measure success?
Articles now use that field for ordering if it has a value
Have we considered potential risks?
It's just pulling an extra field so this should be a safe change.
What does this change?
publishDate
now gets fetched from articles in Prismic. We actually thought we already had it as it's being used elsewhere in the code, but it seems it was never there to start with (or maybe a too-thorough cleanup happened at some point).How to test
Snapshots have been updated and a new article with a
publishDate
value was added to the mix.How can we measure success?
Articles now use that field for ordering if it has a value
Have we considered potential risks?
It's just pulling an extra field so this should be a safe change.