Keystone 6: MongoDB #386
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
-
Probably the biggest change from Keystone 5 to 6 is the move from supporting multiple database adapters to Prisma ORM as the sole data layer and query builder.
Using Prisma as a compatibility layer has significantly reduced the functional surface area that needs to be maintained by the Keystone team. This let's us invest more time building out powerful functionality around the Admin UI, schema customisation, access control, has allowed us to add SQLite support and given us an solution for automatic migrations. However, this change comes at the cost of some flexibility (in the short term at least). The most notable limitation when coming from Keystone 5 is the lack of MongoDB support.
The Prisma team are working hard on adding Mongo support and the functionality was recently released as a preview. But some features (programmatic DB creation for one) are still blocking its use with Keystone. PR #6102 tracks the progress on the Keystone side or #1277 over in the Prisma project.
Beta Was this translation helpful? Give feedback.
All reactions