AshGrant.Verifiers.ValidateScopes (AshGrant v0.20.0)

Copy Markdown View Source

Spark DSL verifier that validates scope-adjacent configuration:

  • Warns about deprecated owner_field and scope_resolver usage
  • Raises a DslError if instance_key does not exist as an attribute

Implemented as a verifier so that it can safely reach into the resource's domain (via AshGrant.Domain.Info) without risking the compile-time cycle that a transformer would trigger when the domain has code_interface entries.

See Also