prisma plugin select with expose does not work properly if fetched through resolveReference #1321
Labels
documentation
Improvements or additions to documentation
good first issue
Good for newcomers
help wanted
Extra attention is needed
Consider a federated graph where in one graph you declare an entity like this:
If this entity is resolved in another graph and therefore resolveReference is called,
slug
will yield an error:It turns out that
t.exposeString("slug")
does not properly append the select in this case.Workarounds:
resolveReference
call. That means you will lose the efficiency gains thereThe text was updated successfully, but these errors were encountered: