Zach Daniel
f823e35f7d
fix: actually use warn_on_empty?
config
2022-08-01 19:23:16 -04:00
Zach Daniel
32bab0959d
chore: add moduledocs for WarnOnEmpty
2022-08-01 14:52:56 -04:00
Zach Daniel
c0404af740
improvement: add warnings to DSL transformer returns
...
improvement: warn on empty registries
closes #359
2022-08-01 14:43:38 -04:00
Zach Daniel
d7d7c58b87
docs: add Ash.Flow
to docs
2022-07-27 09:38:53 -04:00
Zach Daniel
285c7db5be
docs: small docs updates
2022-07-26 02:46:01 -04:00
Zach Daniel
cddeebe09c
doc: update module link
2022-07-25 21:40:23 -04:00
Zach Daniel
d94ebf8883
docs: fix guide links
2022-07-25 21:14:32 -04:00
Zach Daniel
a07b8bb2f6
docs: properly format links
2022-07-25 18:53:37 -04:00
Zach Daniel
ca9c80b6b0
improvement: better sanitization around sensitive attributes in filters
...
docs: general doc improvements
2022-07-25 18:47:30 -04:00
Zach Daniel
0b18be167e
docs: improve docs/small error message tweak
2022-07-25 15:56:52 -04:00
Zach Daniel
951c3051b9
fix: check for actor on query/changeset for actor context
2022-07-22 15:21:11 -04:00
zimt28
d24888b0eb
docs: update authorization section examples.
2022-07-22 14:26:26 -04:00
Zach Daniel
026ac43493
fix: pass actor opt down
2022-07-22 00:59:34 -04:00
Zach Daniel
347907029b
improvement: change always_authorize?
to authorize
for multiple options
2022-07-21 22:23:18 -04:00
Zach Daniel
22a598d6d6
fix: don't skip setting tenant when actor is present
2022-07-21 18:24:57 -04:00
Zach Daniel
6c277a1a59
fix: don't use apply/3
on kernel macros
2022-07-21 14:02:56 -04:00
Zach Daniel
552af4b665
fix: small bug in DSL transformer manipulation.
2022-07-21 14:01:44 -04:00
zimt28
ed44036400
Improve module names ( #357 )
2022-07-21 10:19:47 -04:00
Zach Daniel
331d0cf66c
fix: && and || don't short-circuit to nil
2022-07-20 15:46:14 -04:00
Zach Daniel
7b9861dc2c
fix: {:ok, _}
-> {:known, _}
when evaluating operators
2022-07-20 15:44:03 -04:00
Zach Daniel
8036c268d6
fix: fix bad evaluation case for operators
2022-07-20 15:12:37 -04:00
Zach Daniel
ebef8057c8
improvement: add error message for manual action missed
2022-07-20 13:38:26 -04:00
Zach Daniel
75ca760c9f
fix: ensure we only take unique related records when lazy loading
2022-07-20 01:12:53 -04:00
Zach Daniel
1c7babd2b4
chore: release version v1.52.0-rc.21
2022-07-19 19:32:58 -04:00
Zach Daniel
98a64577d9
improvement: add || and && operators
...
improvement: sort parsing helpers
test: fix flaky test
2022-07-19 19:15:23 -04:00
Zach Daniel
8f23cc71fb
improvement: add Ash.Sort.parse_input!/2
2022-07-19 13:34:01 -04:00
zimt28
81c085b9a3
improvemtn: Add accept_default option ( #351 )
...
* Add accept_default option
2022-07-19 10:03:23 -04:00
Zach Daniel
fe27a7f61b
improvement: add transfer_context/1
and get_context_for_transfer/0
2022-07-19 09:59:57 -04:00
Zach Daniel
c9f20f1488
improvement: add process-based actor, tenant and query/changeset context
...
improvement: add `always_authorize?` and `require_actor?` to api config
2022-07-19 00:49:05 -04:00
zimt28
bc05fb5b47
Deprecate option type helper ( #352 )
2022-07-18 15:22:17 -04:00
Zach Daniel
e83fcf13fb
fix: use Map.get/2
when getting paths if the value is a struct
2022-07-15 22:02:59 -04:00
Zach Daniel
594698986e
improvement: support paths in actor/1
2022-07-15 21:42:30 -04:00
Zach Daniel
8a9e144b85
chore: release version v1.52.0-rc.20
2022-07-14 11:52:12 -04:00
Zach Daniel
e86887b8b8
improvement: add default guide to doc_index
2022-07-14 11:41:20 -04:00
Zach Daniel
611603c7d3
docs: add info for can/4
2022-07-14 10:45:55 -04:00
Frank Dugan III
3776af9f85
feat: add can?/4 policy utility ( #349 )
...
* feat: add can?/4 policy utility
* refactor: change defaults and add can/4
* refactor: add typespecs, rename test
2022-07-14 10:05:51 -04:00
Zach Daniel
4dad1e5d7d
chore: add ash_archival
to subproject build
2022-07-13 15:12:11 -04:00
Zach Daniel
d848350f12
chore: release version v1.52.0-rc.19
2022-07-13 15:06:35 -04:00
Zach Daniel
a023aaff95
fix: make mnesia and ets work properly when sharing tables
...
fix: make updates properly merge with mnesia and ets
fix: `attribute_writable?` also makes it public
2022-07-13 15:05:55 -04:00
Zach Daniel
5a4a3009d9
docs: update seed docs on __keep_nil__
2022-07-12 01:26:13 -04:00
Zach Daniel
ba559936d8
improvement: code_interface optional arguments
...
test: add some load tests
2022-07-11 22:59:51 -04:00
Zach Daniel
0f3521b2f4
improvement: improve behavior of lazy?: true
option
...
before, any calculation that determined that it needed to load
would always load its dependencies, but now if they are already loaded
then dependencies won't be reloaded
2022-07-11 21:31:50 -04:00
Zach Daniel
a9f93c1ca3
chore: ignore unnecessary sobelow error
2022-07-10 23:45:26 -04:00
Zach Daniel
4d3c393342
docs: small docs tweaks, more modules
2022-07-10 23:39:57 -04:00
Zach Daniel
b7a9cd33ac
chore: typo in doc index
2022-07-10 17:05:03 -04:00
Zach Daniel
58b20c3490
chore: release version v1.52.0-rc.18
2022-07-10 16:20:37 -04:00
Zach Daniel
b825277116
fix: fix doc links and include in release
2022-07-10 16:20:13 -04:00
Zach Daniel
46a6bb407d
chore: docs in priv/
2022-07-10 16:06:22 -04:00
Zach Daniel
0b158ca487
docs: work on DSL documentation
2022-07-10 15:05:09 -04:00
Maciej Malecki
9707b4b7fe
Use a proper operator in the attribute_does_not_equal
validation ( #348 )
...
Previously, it was using `if current != expected do raise` while it
needs to do the opposite. Also, simplify the logic by making `update`
work in the same way as `create` (compare upcoming value - not the
original one).
2022-07-07 14:12:32 -04:00