Document new $ prefix, replace / deprecate _ prefix [ Prisma 4 ]
Part of the Prisma 4 effort: The client is deprecating _ prefixes (like _count) in favor of $, like $count. All prefixes in the docs need to be changed. The old syntax will still continue to work, but please coordinate details and actual implementation with the assigned person in https://github.com/prisma/team-orm/issues/151.
Andrew's initial thoughts: we can maybe do this with a regex. Something like _
⚠️ Please coordinate with client engineering team on when this can be done / merged in the docs.
Update 8 June: Alexey will provide more information towards the end of the week. My initial investigation suggests that the docs scope is looking less huge than I first thought, so I'm downgrading to size L.
- Breaking change - add to upgrade guide
- Also add note to the reference doc/s above the list of parameters, explaining this change from Prisma 3 to Prisma 4.
Blocked:
- I'm waiting for information from Alexey.
- In addition, there's currently a technical discussion about this change to Prisma Client: https://www.notion.so/prismaio/Have-a-prefix-for-query-props-eg-and-groupBy-1cf385a9dac841d1987bd415b6edec01 for notes and discussion