My take on implementation of nexus-plugin-prisma for @nexus/schema
The main difference is that codegen main source are @nexus/schema models (that are further enchanced by prisma types) - not the other way around (as in official plugin).
This allow:
- really low grained control
- input filter is exposed only if model field is exposed
- multiple models backed by same prisma type
Codegen is done - need runtime implementation
See ./fixture