You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description and expected behavior
When a model has field level policies which reference other models through a relation, the relations are always selected, even if the relation field is not present in the original select.
Environment:
ZenStack version: 2.11.5
Prisma version: 6.3.1
Database type: Postgresql
Additional context getFieldReadCheckSelector (here) should probably use visitTarget to determine which of the fields with field level policies need to be checked.
The text was updated successfully, but these errors were encountered:
Description and expected behavior
When a model has field level policies which reference other models through a relation, the relations are always selected, even if the relation field is not present in the original select.
Environment:
Additional context
getFieldReadCheckSelector
(here) should probably usevisitTarget
to determine which of the fields with field level policies need to be checked.The text was updated successfully, but these errors were encountered: