Identity · rule
semantic.principal_variant_duplicate
Principal declares a variant twice.
Area 8, Identity; not declinable; the next step is usually the agent's.
principal { user: { subject: Member.handle } user: { subject: Member.handle }}type Handle = Text { max_length: 40}entity Member { id: Uuid handle: Handle { unique: true }}
error: `user:` is declared twice --> main.jadpo:5:5 |2 | user: { | ---- first declared here5 | user: { | ^^^^ declared again reason: A principal says once which entity a user is, so a caller is looked up one way. next: Remove one `user:` (agent) rule: semantic.principal_variant_duplicate help: https://jadpo.dev/docs/errors/semantic.principal_variant_duplicatecheck failed: 1 error, 1 file
Markdown for agents: /docs/errors/semantic.principal_variant_duplicate.md.Built from Jadpo main at a707efb.