AshGrant.Transformers.ValidateScopeThroughs (AshGrant v0.16.0)

Copy Markdown View Source

Spark DSL transformer that validates scope_through entities at compile time.

Validates that:

  • The referenced relationship exists on the resource
  • The relationship is a belongs_to type
  • If an explicit resource is provided, it matches the relationship destination

Summary

Functions

after_compile?()

Callback implementation for Spark.Dsl.Transformer.after_compile?/0.