Join Slack
Powered by
Hi all, How can I use mutation operation with enum...
# orm-help
c
ChiwanAhn
02/27/2019, 12:31 AM
Hi all, How can I use mutation operation with enum values? I mean I deployed type and enum to prisma server. After that, I tried to seed some data with my seed.graphql file. But server error comes up while I am executing mutation with enum value.
Copy code
createUser( data: { accounts: { create: [ currency: USD *enum value* ... ] } } )
ChiwanAhn
02/27/2019, 1:17 AM
It was very stupid question. when I try to delete and deploy one more time, can solve this problem. 🙂
5
Views
Open in Slack
Previous
Next