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
If a model has an @ignore tag, the prisma-trpc-generator will (I'm assuming correctly) not output the upsert and createOne methods for User, but at the same time will still import the schemas which now don't exist and cause a compilation error.
Bug description
If a model has an
@ignore
tag, theprisma-trpc-generator
will (I'm assuming correctly) not output the upsert and createOne methods forUser
, but at the same time will still import the schemas which now don't exist and cause a compilation error.How to reproduce
Given a schema
You should get the compilation error:
Expected behavior
and
Should not be present in the
User.router.ts
filePrisma information
Environment & setup
N/A
Prisma Version
The text was updated successfully, but these errors were encountered: