Current section

Files

Jump to
potionx priv templates potion.gen.gql_for_model delete.gql
Raw

priv/templates/potion.gen.gql_for_model/delete.gql

mutation <%= model_name_graphql_case %>Delete(
$filters: <%= model_name %>FiltersSingle
) {
<%= model_name_graphql_case %>Delete(
filters: $filters
) {
errors
errorsFields {
field
message
}
node {
<%= graphql_fields %>
}
}
}