I am writing a code generator that uses the DMMF, ...
# orm-help
s
I am writing a code generator that uses the DMMF, and was wondering what kind of stability I should expect from the DMMF format? Specifically: • Are changes to this well advertised? • Do they result in major version upgrades? Or should I be monitoring and managing these changes as prisma evolves forward?
n
Hey there 🙂 this question also recently came up in this GitHub Discussion: https://github.com/prisma/prisma/discussions/10721
what kind of stability I should expect from the DMMF format?
The DMMF is an internal API that’s intentionally not documented. So, it’s not part of the “official” developer surface and might break at any time.
Are changes to this well advertised?
No, we don’t list changes to the DMMF in the release notes.
Do they result in major version upgrades?
Also, no. Changes to the DMMF might happen with any release. Sorry about this, we’re aware that situation is not ideal for people who want to build tools on top of Prisma and we’re considering putting out an official SDK eventually that will make it easier to rely on the Prisma internals, but unfortunately right now the unofficial way via the DMMF is the only other way 😌
s
@nikolasburk thanks for the reply. I suspected as much, but good to have clarity. Not an issue - Ill write some tests to monitor and manage this at my end.