Open greatwitenorth opened 4 years ago
After looking into this further it seems like our grapqhl endpoint is returning the sort types now without the "y" ending:
For the query:
query{
__schema{
types{
name
}
}
}
I get this result:
...
{
"name": "SortPage"
},
...
Not sure if anyone else's repos are seeing this issue. Will reach out to prismic support.
We have a project that has been using this source plugin for sometime, and this morning when I went to fire up my local development copy I got this error message:
I'm not sure why, but it looks like a "y" is being appended to the
PRISMIC_Sort
type:https://github.com/prismicio/gatsby-source-prismic-graphql/blob/6a23f5f32dcd95d054ca473dbd9b253a04726dff/packages/gatsby-source-prismic-graphql/src/gatsby-node.ts#L254
I suppose this was working fine at one point, but I had to modify the code to remove the "y" and it seems to work. Not sure what changed or how to debug this further.
Our production builds are failing on Netlify as well. Yesterday around 10am cst the build ran fine. Today I've tried to re-deploy the same site with no code/prismic cms changes and the build now fails with the same above error.