View Source Indexed.Managed.Prepare (Indexed v0.3.4)

Some tools for preparation and data normalization.

Link to this section Summary

Functions

Make some automatic adjustments to the manageds list

Link to this section Functions

Link to this function

rewrite_manageds(manageds)

View Source
@spec rewrite_manageds([Indexed.Managed.t()]) :: [Indexed.Managed.t()]

Make some automatic adjustments to the manageds list:

  • Set the :tracked option on the managed structs where another references it with a :one association.
  • More things.
Link to this function

validate_before_compile!(mod, repo, managed)

View Source
@spec validate_before_compile!(module() | nil, module(), list()) :: :ok