Join Slack
Powered by
hello general, anyone knows if it's possible to de...
# prisma-whats-new
h
hamatek
03/05/2018, 7:32 PM
hello general, anyone knows if it's possible to define default value on a @relation field for a type model
n
nilan
03/05/2018, 7:36 PM
No, it's not. It should be easy to add that logic in your GraphQL resolvers.
h
hamatek
03/05/2018, 7:40 PM
thanks
@nilan
i didn't check resolvers yet ill look into it, is this the best place ?
https://www.graph.cool/docs/reference/functions/resolvers-su6wu3yoo2
2
Views
Open in Slack
Previous
Next