You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can't wait to try out Prisma2 in a new project, but there's a few things I'd like to know if it's supported or not. Is there link where I can see if certain features have been implemented?. Things like JSON field, check constraint, aggregates, etc. Much appreciated!
Type declarations is a long ongoing work that will remove many limitations. It still requires much product and implementation work so it is taking time.
Activity
pantharshit00 commentedon Dec 2, 2019
Hi,
We list some of the limitations here: https://github.com/prisma/prisma2/blob/master/docs/limitations.md
You can look into the issue for other limitations.
Unfortunately, the things that you have mentioned are also work in progress 😅.
You can check the specs repository on what is coming: https://github.com/prisma/specs
Ericnr commentedon Dec 2, 2019
Cool, tyvm! I don't see JSON fields or check constraint in the specs, I hope they'll be added.
pantharshit00 commentedon Dec 3, 2019
JSON fields are part of the native type. We will not only support JSON type but all other database types in the future: https://github.com/prisma/specs/tree/master/schema#type-definitions-provided-by-connectors. JSON will just another postgres type.
I opened a new spec issue for check constraints though: https://github.com/prisma/specs/issues/344
yovanoc commentedon Dec 3, 2019
Hey, I'm working with protobuf, and I get a Long type for

uint64and there is no way actually to save more than an Int in prisma?pantharshit00 commentedon Dec 3, 2019
Longs are also part of type declarations as described by @matthewmueller here: https://github.com/prisma/photonjs/issues/170#issuecomment-517369338
Type declarations is a long ongoing work that will remove many limitations. It still requires much product and implementation work so it is taking time.
Ericnr commentedon Dec 3, 2019
Question answered!
Port prisma & prisma-engines test corpus into prisma-next (488 accoun…
docs(roadmap): mark snapshot store, hashes, error scheme, date codec …
Follow main's @prisma-next → @internal package rename into the new ports
Follow main's @prisma-next → @internal package rename into the new ports