View Source Ash.Changeset.ManagedRelationshipHelpers (ash v3.4.36)

Tools for introspecting managed relationships.

Extensions can use this to look at an argument that will be passed to a manage_relationship change and determine what their behavior should be. For example, AshAdmin uses these to find out what kind of nested form it should offer for each argument that manages a relationship.

Summary

Functions

Link to this function

could_handle_missing?(opts)

View Source
Link to this function

must_load?(opts, must_load_opts \\ [])

View Source
Link to this function

on_lookup_read_action(opts, relationship)

View Source
Link to this function

on_lookup_update_action(opts, relationship)

View Source
Link to this function

on_match_destination_actions(opts, relationship)

View Source
Link to this function

on_missing_destination_actions(opts, relationship)

View Source
Link to this function

on_no_match_destination_actions(opts, relationship)

View Source
Link to this function

sanitize_opts(relationship, opts)

View Source