ash_archival/.formatter.exs
Zach Daniel 8612b41155 improvement: add exclude_upsert_actions configuration
this allows for upserting records that factor in archived records.

Most commonly, this would be seen as a "create or unarchive" action,
so you'd add `change set_attribute(:archived_at, nil)`
2024-07-18 11:27:20 -04:00

16 lines
377 B
Elixir

spark_locals_without_parens = [
archive_related: 1,
attribute: 1,
base_filter?: 1,
exclude_destroy_actions: 1,
exclude_read_actions: 1,
exclude_upsert_actions: 1
]
[
inputs: ["{mix,.formatter}.exs", "{config,lib,test}/**/*.{ex,exs}"],
locals_without_parens: spark_locals_without_parens,
export: [
locals_without_parens: spark_locals_without_parens
]
]