Zach Daniel
df94bfe0b6
chore: dialyzer
2024-01-11 16:27:43 -05:00
Zach Daniel
55219a0dfb
chore: can't enumerate :unknown
2024-01-11 16:19:36 -05:00
Zach Daniel
f564e47fb8
fix: fix runtime filter parsing & make last arg optional
2024-01-11 15:45:47 -05:00
Zach Daniel
2e2d2c404c
fix: undo incorrect behaviour in runtime evaluation
2024-01-11 15:35:49 -05:00
Zach Daniel
6b74072ada
chore: formatter, cheat sheets, credo
2024-01-11 15:05:25 -05:00
Zach Daniel
35573a6f4e
improvement: support join_filters
in aggregates
2024-01-11 14:57:22 -05:00
Jechol Lee
5eaec735f8
fix: fix typespecs and cleanup Ash.Resource.Builder ( #827 )
2024-01-11 11:44:04 -05:00
Zach Daniel
5b82ce293f
fix: authorize aggregate references in calculations
2024-01-10 07:11:02 -05:00
Zach Daniel
63c15bbfe9
improvement: error on using relate_actor
with :many
cardinality relationships
2024-01-10 05:56:22 -05:00
Robert Graff
fc9132e75b
docs: metadata docs improvement ( #823 )
2024-01-09 19:27:16 -05:00
Alan Heywood
dbb4a38ea3
fix: only put keywords to be interpolated in message in error vars ( #821 )
...
* fix: only put keywords to be interpolated in message in error vars
---------
Co-authored-by: Zach Daniel <zachary.s.daniel@gmail.com>
2024-01-08 18:08:17 -05:00
Zach Daniel
d617f42daf
improvement: append new entities in Ash.Resource.Builder
2024-01-08 16:19:36 -05:00
Zach Daniel
c1fd67f22c
fix: ignore empty relationship paths when authorizing relationships
2024-01-08 15:47:48 -05:00
Zach Daniel
4652a8237e
fix: properly build query from opts in aggregates
2024-01-08 15:40:27 -05:00
Zach Daniel
a12131cf70
improvement: simplify aggregate loading, remove Ash.Engine
from it
...
improvement: add atomic implementation for builtin `increment` change
improvement: simplify related path authorization, use same tool as aggregates now use
2024-01-08 15:31:09 -05:00
Robert Graff
b35f30fb6f
docs: Fix typo in page_requires_pagination.ex ( #819 )
2024-01-05 19:15:52 -05:00
Zach Daniel
80d117ed1e
chore: remove IO.inspect
2024-01-05 12:41:58 -05:00
Zach Daniel
16818f1f14
fix: don't consider ash field signals as present
2024-01-05 12:30:59 -05:00
Zach Daniel
c4fd06aea0
improvement: refactor filter requests to not use Ash.Engine
2024-01-04 12:46:38 -05:00
Zach Daniel
af9c78c2f6
chore: fix typo
2024-01-04 01:01:44 -05:00
Zach Daniel
fadecf3ee9
improvement: atomic validation implementations for most validations
...
improvement: support type operator overloading
2024-01-04 00:52:46 -05:00
Zach Daniel
6061a2a16a
improvement: add some atomic implementations
2024-01-03 16:48:15 -05:00
Zach Daniel
746fc5df53
fix: add required check for stream pagination
2024-01-01 01:22:12 -05:00
Zach Daniel
fe2156a9ac
imorovement: support bulk action callbacks in the data layer
2023-12-31 00:49:22 -05:00
Zach Daniel
44761e7e3f
improvement: support :no_rollback
and return_query/2
callback
2023-12-29 21:43:15 -05:00
Zach Daniel
b600b23803
improvement: add a return_query/2
callback for data layers
2023-12-29 17:33:23 -05:00
Zach Daniel
4dfa140ec9
improvement: support {:error, :no_rollback, error}
from data layer callbacks
2023-12-29 17:23:13 -05:00
Zach Daniel
c3e192c6d8
improvement: always update the join relationship
2023-12-28 15:04:00 -05:00
Zach Daniel
40aa17eab8
fix: ensure __source__
is set on nested embedded attributes
2023-12-28 14:47:40 -05:00
Zach Daniel
259b48e5ea
improvement: use new api
option in Ash.Query.for_read/4
2023-12-27 18:15:20 -05:00
Zach Daniel
4ee80297d7
improvement: support using the new api
option in actions
2023-12-27 18:14:29 -05:00
Zach Daniel
e90842f141
improvement: accept api
option in Ash.Changeset.for_*
functions
2023-12-27 17:53:23 -05:00
Zach Daniel
3e296a4bba
Revert "chore: comment out test for now
...
This reverts commit cc21661559
.
2023-12-27 17:47:50 -05:00
Zach Daniel
034642ffda
improvement: update Ash
interface for working with new style resources
2023-12-27 17:35:30 -05:00
Zach Daniel
cc21661559
chore: comment out test for now
2023-12-27 17:28:52 -05:00
Zach Daniel
af3d2b321d
chore: use unused variable
2023-12-27 16:38:41 -05:00
Zach Daniel
26160e446b
chore: require name for ash.codegen
2023-12-27 10:12:19 -05:00
Zach Daniel
19d18c5fcc
improvement: better formatting of nested expressions
...
improvement: helpful errors when misusing `.` in expressions
2023-12-22 22:22:59 -05:00
Zach Daniel
0f8bb664ab
fix: properly move maps & lists to expression paths
...
fix: set tenant when running authorization queries
closes : #812
2023-12-22 21:09:00 -05:00
Zach Daniel
d390d65146
improvement: simplify used aggregate detection
...
improvement: add `lazy/1` to expressions
docs: add expression docs
2023-12-22 19:06:13 -05:00
Zach Daniel
3a1923fdeb
improvement: support providing an input
key in predicate maps
2023-12-21 17:17:43 -05:00
Zach Daniel
eb05e9be63
improvement: support streaming without keyset pagination
...
use the new `allow_stream_with` and `stream_with` options to control
what strategy may be used to stream query results.
2023-12-21 08:35:49 -05:00
Zach Daniel
0932cf32a7
improvement: add callbacks for bulk actions on manual actions
2023-12-20 21:23:13 -05:00
Zach Daniel
ed887413d7
improvement: base case iterative bulk destroy implemented
2023-12-20 21:08:40 -05:00
Zach Daniel
8c17434803
improvement: add iterative, streaming implementation for bulk updates
2023-12-20 17:33:43 -05:00
Rebecca Le
ba6eb773b8
docs: Fill out shortdoc for generate_policy_charts
mix task ( #808 )
...
This is the one-liner that is shown when running `mix help` to list tasks
2023-12-19 22:51:13 -05:00
Zach Daniel
ff1a590f46
fix: empty milliseconds for utc datetime must have precision 6
...
fix: ensure actor & authorize? contexts are set even if not provided
2023-12-18 20:14:36 -05:00
Zach Daniel
867c786388
chore: remove unused variables
2023-12-18 16:02:39 -05:00
Zach Daniel
e3605bd80f
improvement: detect impending manage_relationship
calls when checking attribute presence
2023-12-18 12:47:49 -05:00
Zach Daniel
3ee3279d2f
fix: ignore load/limit/offset in aggregate queries, instead of raising
...
closes #806
2023-12-18 08:28:52 -05:00