ash_authentication/.formatter.exs
James Harton 8797005175
feat(Ash.PlugHelpers): Support standard actor configuration. (#16)
* improvement(docs): change all references to `actor` to `user`.

The word "actor" has special meaning in the Ash ecosystem.

* chore: format `dev` directory also.

* feat(Ash.PlugHelpers): Support standard actor configuration.

* Adds the `:set_actor` plug which will set the actor to a resource based on the subject name.
* Also includes GraphQL and JSON:API interfaces in the devserver for testing.
2022-10-31 16:43:00 +13:00

25 lines
505 B
Elixir

spark_locals_without_parens = [
api: 1,
confirmation_required?: 1,
hash_provider: 1,
hashed_password_field: 1,
identity_field: 1,
password_confirmation_field: 1,
password_field: 1,
read_action_name: 1,
register_action_name: 1,
sign_in_action_name: 1,
subject_name: 1
]
[
import_deps: [:ash, :spark],
inputs: [
"*.{ex,exs}",
"{dev,config,lib,test}/**/*.{ex,exs}"
],
plugins: [Spark.Formatter],
export: [
locals_without_parens: spark_locals_without_parens
]
]