Zach Daniel
d1f05b6c42
fix: don't attempt to re-authorize access to already retrieved records in Api.load/2
...
improvement: show conditions in policy breakdowns
2022-10-20 13:00:23 -04:00
Zach Daniel
8092cd899a
docs: remove more experimental warnings
2022-10-20 02:00:56 -04:00
Zach Daniel
d22cf2714b
docs: remove experimental warning from manual relationships
2022-10-20 01:59:52 -04:00
Zach Daniel
57466b3498
docs: remove outdated statement about calculations being limited
2022-10-19 22:17:44 -04:00
Zach Daniel
2d7dfc4948
chore: release version v2.1.0
2022-10-19 17:46:19 -04:00
zimt28
9337ed6479
feat: Custom short names for types ( #423 )
...
A compile env can be set to allow customizing the available type short names. This supports two things:
1. Adding custom type short names, like `attribute :price, :money` mapping to `MyApp.Type.Money`
2. Overriding the builtin type short names, like `attribute, :price, :string` mapping to a custom string type implementation (there is likely no reason to do this)
2022-10-19 15:24:40 -04:00
Zach Daniel
235e965627
improvement: sort relationship in order of input when managing it
...
This helps with things like https://github.com/ash-project/ash_phoenix/issues/57
which involve rendering the relationship value after editing it. Retaining
the order allows direct reuse without any gymnastics
2022-10-19 00:39:10 -04:00
Zach Daniel
5a11736931
docs: remove outdated @authorizers
reference
2022-10-18 17:43:33 -05:00
Zach Daniel
37074207d8
docs: update actions guide
2022-10-18 17:32:50 -05:00
Zach Daniel
f774e60749
fix: set defaults before running changes
2022-10-18 14:27:35 -05:00
Zach Daniel
4ca69be25e
improvement: generate example class/er diagrams
2022-10-18 14:26:42 -05:00
Zach Daniel
4915e5d583
improvement: add now()
to expression syntax
2022-10-18 14:19:28 -05:00
zimt28
e4e6be1550
Update README.md ( #421 )
2022-10-17 16:59:56 -05:00
Zach Daniel
a894651caf
Update README.md
2022-10-17 16:46:20 -05:00
Zach Daniel
8b7beb1fc8
Update README.md
2022-10-17 16:44:26 -05:00
Zach Daniel
e9de4f7997
chore: update readme
2022-10-17 16:44:01 -05:00
Zach Daniel
cac0e41c0e
Update README.md
2022-10-17 14:57:07 -05:00
Zach Daniel
05855fea60
chore: release version v2.0.0
2022-10-17 12:21:03 -05:00
Zach Daniel
8474e60828
chore: more livebook cleanup
2022-10-17 11:04:28 -05:00
Zach Daniel
a365103087
clean up livebook/mermaid diagrams
2022-10-17 10:18:47 -05:00
Josh Price
3f572c65a2
feat: basic livebook generator and mix task ( #420 )
2022-10-17 08:52:24 -05:00
Zach Daniel
ce35d41ed1
improvement: don't eager evaluate type/2
2022-10-17 08:27:31 -05:00
Zach Daniel
f3a1ee2364
chore: add back private_vars
for InvalidAttribute
2022-10-17 08:00:29 -05:00
Josh Price
7db6aa049c
feat: mermaid class diagram mix task ( #417 )
2022-10-16 19:37:24 -05:00
Josh Price
bb86a13323
docs: refactor diagram, fix doc typos and formatting ( #419 )
2022-10-16 19:36:37 -05:00
Zach Daniel
6751afc683
improvement: support depending on requests that will be added
...
docs: improve flow docs
closes : #418
improvement: support dynamic action steps in `Ash.Flow`
2022-10-16 14:07:57 -05:00
Zach Daniel
652342c41d
docs: remove the word simply
from the docs
2022-10-15 10:16:38 -05:00
Zach Daniel
1e6be17618
fix: properly lateral join when possible
...
improvement: add `prepend?: true` option to sort
fix: use `prepend?: true` when applying relationship sorts
fix: don't miss dependencies in flow diagrams
improvement: use `simple_equality?/0` to allow for optimized equality checking
2022-10-15 00:03:03 -05:00
Josh Price
5c5ef1976c
refactor: simplify mermaid mix tasks ( #416 )
2022-10-14 09:32:44 -04:00
Zach Daniel
b0f245b961
chore: update flow pdfs
2022-10-14 01:26:16 -04:00
Zach Daniel
0534518a35
fix: fix deps finding in flow charts & flows
2022-10-14 01:17:52 -04:00
Josh Price
d1a49276b8
improvement: mermaid mix task for ER diagrams ( #415 )
2022-10-14 01:07:05 -04:00
Zach Daniel
362180190c
fix: properly load calcs/aggs on manual relationships
...
It needs to be optimized, but it will do the trick for now.
2022-10-13 00:36:29 -04:00
Zach Daniel
48d96fc417
fix: properly load nested manual relationships
2022-10-12 21:30:48 -04:00
Zach Daniel
bd9660503d
chore: key private ets tables by the table name
2022-10-12 15:52:59 -04:00
Zach Daniel
7f07f0d173
improvement: try to resolve flaky tests by not using named tables for private ets resources
2022-10-12 15:26:43 -04:00
Zach Daniel
7f209495c3
improvement: better unknown error handling
2022-10-12 14:52:55 -04:00
Rebecca Le
60833d88a6
CI: re-enable latest versions of Elixir/Erlang ( #413 )
2022-10-12 11:45:31 -04:00
Rebecca Le
491c88cacd
fix: allow overriding validation message on a list of errors ( #412 )
2022-10-12 11:44:32 -04:00
Zach Daniel
bbaae20507
fix: reraise errors on task error
...
chore: remove dead code
2022-10-11 14:31:08 -04:00
Frank Dugan III
62805fcce9
improvement: allow passing query or changeset in can/can?/4 ( #410 )
2022-10-10 11:50:13 -04:00
Zach Daniel
ae8e0e356b
fix: don't show dependencies for run_flow steps in expanded view(they are duplicates)
2022-10-10 01:28:32 -04:00
Zach Daniel
a3abb3fc62
chore: release version v2.0.0-rc.15
2022-10-09 22:01:18 -04:00
Zach Daniel
ecd30d944d
fix: handle upsert_identity better with ets/mnesia
2022-10-09 22:01:09 -04:00
Nelson Bassett
8378722244
improvement: Improve error when actions reject and accept keys overlap ( #405 )
...
* Test for overlapping action keys, and initial solution.
* Merged ValidateAcceptRejectpOverlap transformer into existing DefaultAccept transformer.
* Corrected formatting using mix format.
2022-10-09 18:05:54 -04:00
Zach Daniel
e9ca762e34
improvement: update to latest spark
...
chore: clean up tests & remove warnings
2022-10-08 14:00:08 -04:00
Zach Daniel
8d2e9204dd
fix: always set source on attributes
2022-10-07 15:45:39 -04:00
Zach Daniel
ea8b03c1fb
chore: release version v2.0.0-rc.14
2022-10-07 15:31:50 -04:00
Zach Daniel
06d60a3e4e
improvement: add type
function to ash core
2022-10-07 15:31:39 -04:00
zimt28
fc4c60b125
improvement: Allow a single where
condition for validations ( #407 )
2022-10-07 11:24:04 -04:00