Join Slack
Powered by
Not sure where to ask this but is it still the cas...
# orm-help
f
faure
12/14/2018, 9:18 PM
Not sure where to ask this but is it still the case that prisma does not support interfaces nor union types?
t
TangoJuliett
12/14/2018, 10:49 PM
That is correct, but there is an RFC on a plan to rectify that:
https://github.com/prisma/prisma/issues/3408
f
faure
12/17/2018, 4:20 PM
What do you think of this workaround?
https://itnext.io/graphql-interfaces-and-union-types-with-prisma-and-yoga-7224f9e1d9ad?gi=c91a575891d
faure
12/17/2018, 4:21 PM
Alternatively, how do u handle inheritance
t
TangoJuliett
12/18/2018, 1:38 AM
Well, it’s not easy, but we do it… sort of. I’m mostly waiting for them to implement the above data model directives. As for the article, I’ll have to check that out
3
Views
Open in Slack
Previous
Next