Keystone 6: GraphQL API #387
Unanswered
molomby
asked this question in
Upgrading to Keystone 6
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We've made some changes to the structure and syntax of the GraphQL API in Keystone 6. These include:
allThings
->things
)first
->take
)Mostly these were done resolve long standing inconsistencies and, in some cases, to align with the new, underlying Prisma ORM API. If you're upgrading an app from Keystone 5 you'll need to update many of your frontend queries to accommodate these changes.
The A new & improved GraphQL API post describes the changes in detail so I won't reproduce it all here. Specifically, the upgrade checklist section is worth a look if you're upgrading.
Beta Was this translation helpful? Give feedback.
All reactions