Ash.Changeset.ManagedRelationshipHelpers (ash v1.37.2) View Source

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.

Link to this section Summary

Link to this section Functions

Link to this function

could_handle_missing?(opts)

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