Join Slack
Powered by
When using the prisma plugin, is there any way to ...
# graphql-nexus
p
Pascal Sthamer
10/19/2020, 4:11 PM
When using the prisma plugin, is there any way to limit the fields that can be updated with
t.crud.updateOne*
?
👀 1
r
Ryan
10/21/2020, 6:58 AM
Maybe possible by a custom resolver?
https://nexusjs.org/docs/pluginss/prisma/api#resolve
Just updating the fields required regardless of what’s passed.
p
Pascal Sthamer
10/21/2020, 12:45 PM
That would work, but feels kinda hacky and the problem is that the GraphQL types are not updated.
Open in Slack
Previous
Next