kratam
09/17/2018, 2:28 PMprisma-binding. A few questions:
- My resolvers use fragment: props. Should I import extractFragmentReplacements from graphql-binding from now on?
- I'm using typescript and prisma.user({ id: userId }).$fragment(fragment) seems to return {}. What am I doing wrong? (fragment is a string)
- Is it possible to pass the info to the prisma query in order to retrieve connections? The $delegate seems to be gone from prisma.
- Is there a 1.16 => 1.17 migration guide?nilan
09/19/2018, 12:00 PM$delegate has been removed from Prisma Client. For schema delegation, you can use prisma-binding. We will provide more clarity about this decision here soon: https://www.prisma.io/forum/t/help-understanding-prisma-clients-value-proposition/4394?u=nilan
4) There is no 1.16 => 1.17 migration guide yet. Besides prisma generate, which is a new feature, and a very specific breaking change for the generated schema, there are no changes that justify a specific migration guide. Were you actually asking for a prisma-binding to Prisma Client migration guide?nilan
09/19/2018, 12:01 PM