Seriously. I have a a type `Link`. It has a field ...
# orm-help
t
Seriously. I have a a type
Link
. It has a field that depends on some data of Link. Let's assume that
Link->link
depends on
Link->order
. So, to resolve
Link->link
field I need to always have
order
on selection. When I forward requests to
prisma
it returns only subset of data that is requested by client and if client requests
links { link }
prisma will only return
link
field from db. I need to force it to get
order
too. @nilan pointed out in issue that it can be achieved via fragment in resolver, but it doesn't work that way. How to do this?
l
Did you extract fragment replacements?
👍 1
t
@lawjolla How? I use there inline fragments