ash/.formatter.exs
Zach Daniel f6f5d194bf feat: freeform expressions
feat: validatiosn in actions

feat: query arguments

feat: add `Ash.Query.for_read/3`

feat: return changeset with API errors

feat: add case insensitive string `CiString`/`:ci_string`

feat: support `context/1` and `arg/1` in filter templates

feat: support targeting notifications with the `for` option

feat: add `ago/2` query function

feat: add basic arithmetic operators (+, *, -, /)

feat: `sensitive?` option for attributes

feat: `sensitive?` option for arguments

feat: `private` arguments, which can’t be set using `for_<action>`

feat: add `prevent_change` which will erase changes just before the changeset is committed

feat: add `match?` validation that supports a custom error message

feat: add `interval` type to support `ago/2` function

feat: add `url_encoded_binary` type

feat: add `function` type

improvement: `changing?` is now a validation

improvement: add `Transformer.get_persisted/3`

improvement: add `api` field to `Notification`

improvement: standardize errors, add `to_error_class`

improvement: use `Comp` everywhere

Improvement: use action on changeset if set by `for_<action_type>`

improvement: `action_failed?` field on change sets

improvement: remove ability for data layers to add operators (for now at least)

Improvement: Changeset.apply_attributes/2 now returns an error tuple

Improvement: add a bunch of new/informative errors

improvement: runtime filter now uses left join logic (a naive implementation of it)

improvement: support more filter templates in resources

Improvement: basic/naive type system for operators/functions

Fix: properly expand module aliases for options w/o compile time dependency

chore(engine): track changeset changes for the request with `manage_changeset?: true`
2021-01-21 15:22:50 -05:00

104 lines
1.8 KiB
Elixir

# THIS FILE IS AUTOGENERATED USING `mix ash.formatter`
# DONT MODIFY IT BY HAND
locals_without_parens = [
accept: 1,
action: 1,
allow_nil?: 1,
argument: 2,
argument: 3,
attribute: 1,
attribute: 2,
attribute: 3,
base_filter: 1,
belongs_to: 2,
belongs_to: 3,
calculate: 3,
calculate: 4,
change: 1,
change: 2,
constraints: 1,
count: 2,
count: 3,
create: 1,
create: 2,
create_timestamp: 1,
create_timestamp: 2,
default: 1,
defaults: 1,
define_field?: 1,
description: 1,
destination_field: 1,
destination_field_on_join_table: 1,
destroy: 1,
destroy: 2,
event: 1,
expensive?: 1,
field: 1,
field_type: 1,
filter: 1,
first: 3,
first: 4,
generated?: 1,
global?: 1,
has_many: 2,
has_many: 3,
has_one: 2,
has_one: 3,
identity: 2,
identity: 3,
integer_primary_key: 1,
integer_primary_key: 2,
join_attributes: 1,
join_relationship: 1,
kind: 1,
many_to_many: 2,
many_to_many: 3,
message: 1,
module: 1,
on: 1,
pagination: 1,
parse_attribute: 1,
prefix: 1,
prepare: 1,
prepare: 2,
primary?: 1,
primary_key?: 1,
private?: 1,
publish: 2,
publish: 3,
publish_all: 2,
publish_all: 3,
read: 1,
read: 2,
required?: 1,
resource: 1,
resource: 2,
sensitive?: 1,
soft?: 1,
sort: 1,
source_field: 1,
source_field_on_join_table: 1,
strategy: 1,
table: 1,
through: 1,
type: 1,
update: 1,
update: 2,
update_default: 1,
update_timestamp: 1,
update_timestamp: 2,
uuid_primary_key: 1,
uuid_primary_key: 2,
validate: 1,
validate: 2,
warn_on_compile_failure?: 1,
writable?: 1
]
[
inputs: ["{mix,.formatter}.exs", "{config,lib,test}/**/*.{ex,exs}"],
locals_without_parens: locals_without_parens,
export: [
locals_without_parens: locals_without_parens
]
]