ash_graphql v0.7.0 AshGraphql.Resource.Mutations.Update View Source

Link to this section Summary

Functions

A mutation to update a record

Link to this section Functions

Link to this macro

update(name, action, opts \\ [])

View Source (macro)

A mutation to update a record

Examples

update :update_post, :default

Arguments

  • :name - The name to use for the mutation.

  • :action - The action to use for the mutation.

Options

  • :identity - The identity to use to fetch the record to be updated.