ash_graphql v0.6.0 AshGraphql.Resource.Mutations.Create View Source

Link to this section Summary

Functions

A mutation to create a record

Link to this section Functions

Link to this macro

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

View Source (macro)

A mutation to create a record

Examples

create :create_post, :default

Arguments

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

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