Skip to content
This repository was archived by the owner on Mar 1, 2026. It is now read-only.

Commit 035a211

Browse files
ymc9Copilot
andauthored
Update packages/plugins/policy/src/policy-handler.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 634b4f8 commit 035a211

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/plugins/policy/src/policy-handler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ export class PolicyHandler<Schema extends SchemaDef> extends OperationNodeTransf
270270
if (hasFieldLevelPolicies) {
271271
// when a select query involves field-level policies, we build a nested query selecting all fields guarded with:
272272
// CASE WHEN <field policy> THEN <field> ELSE NULL END
273-
// model-level policies is also applied at this nested query level
273+
// model-level policies are also applied at this nested query level
274274

275275
const updatedFroms: OperationNode[] = [];
276276
for (const table of result.from!.froms) {

0 commit comments

Comments
 (0)