Zach Daniel
22ba69db70
fix: add back in api level verifiers
...
I have no idea how or why these were removed, but it shouldn't have happened
2023-12-10 12:59:32 -05:00
Zach Daniel
e8da3bfd5c
improvement: support nil
values in struct type callbacks
2023-12-07 23:28:44 -05:00
Zach Daniel
8ce6e065ce
fix: don't apply default limit unless pagination is required
2023-12-06 21:37:43 -05:00
Zach Daniel
618b706e48
fix: properly handle union changes for lists of embeds
...
at the moment, this only works properly for tagged maps
2023-12-06 13:02:44 -05:00
Zach Daniel
c7e6133317
improvement: support embed_nil_values?
for trimming down stored embeds
2023-12-06 10:29:39 -05:00
Zach Daniel
e7d4f29598
fix: honor default_limit
option in pagination
2023-12-05 22:59:48 -05:00
Zach Daniel
fa311a936a
chore: restore another removed callback
2023-12-05 19:25:35 -05:00
Zach Daniel
9551010adf
chore: restore removed predicate
2023-12-05 19:22:51 -05:00
Zach Daniel
2c9bfb187a
chore: add comment
2023-12-05 19:15:21 -05:00
Zach Daniel
4641becb9e
improvement: use loaded calculation values in expressions
2023-12-05 19:13:16 -05:00
Zach Daniel
095e6c9237
fix: add back in builtin_predicate_operators/0
2023-12-05 01:38:49 -05:00
Jechol Lee
86e171a0c1
test: various test improvements ( #795 )
2023-12-05 01:34:21 -05:00
Zach Daniel
08a72acc6b
fix: various runtime expression evaluation fixes
...
the issue is that the expression parser didn't support the fact
that some operators accept `nil` values and other operators do not.
2023-12-03 13:43:35 -05:00
Igor Barakaiev
0ae14bdf71
docs: Clarify how to use Enums in attributes ( #790 )
2023-12-02 22:34:23 -05:00
mrdotb
e9afdcf39f
docs: update example Flow Step transaction ( #787 )
2023-11-30 10:16:18 -05:00
Zach Daniel
9c0a66b154
fix: honor read action for Api.get
calls.
2023-11-29 20:16:04 -05:00
Zach Daniel
92ff66211e
fix: various fixes to calculation expansion and execution
2023-11-29 20:09:34 -05:00
Zach Daniel
198b290b10
chore: update docs showing map values for composite types
2023-11-29 10:23:10 -05:00
Zach Daniel
51b02c6459
docs: add docs for composite types
2023-11-29 10:09:12 -05:00
Zach Daniel
a74bba60e0
chore: credo
2023-11-29 09:47:46 -05:00
Zach Daniel
e1193098c8
fix: don't eager evaluate composite type construction
2023-11-29 09:34:26 -05:00
Zach Daniel
3bc0d975a6
chore: fix call to compile_env!
2023-11-28 13:58:11 -05:00
Zach Daniel
27318c32cb
improvement: forbid using resources as types
2023-11-28 13:51:50 -05:00
Zach Daniel
4e0566fe0d
improvement: add composite_type/2
and composite_type/3
2023-11-27 19:11:52 -05:00
Zach Daniel
fdc2bc9a58
improvement: support key aliases for composite types
2023-11-27 16:20:30 -05:00
Zach Daniel
5703e26adc
chore: add Ash.Type
functions for new callbacks
2023-11-27 13:14:33 -05:00
Zach Daniel
438331e2e9
chore: move overridable callbacks to correct type
2023-11-27 13:06:17 -05:00
Zach Daniel
d36972ca8b
chore: make new Ash.Type callbacks overridable
2023-11-27 13:03:20 -05:00
Zach Daniel
c6a2e56142
fix: ensure NewType honors new composite callbacks
2023-11-27 12:59:56 -05:00
Zach Daniel
e043521625
chore: fix callbcak location
2023-11-27 12:57:18 -05:00
Zach Daniel
c82542ce55
improvement: add composite?/1
and composite_types/1
to Ash.Type
2023-11-27 12:55:39 -05:00
Zach Daniel
83d5bdd55e
fix: properly create new vectors from strings
2023-11-26 18:53:23 -05:00
Zach Daniel
be935723d2
fix: properly resolve nested calculation dependencies
2023-11-24 07:23:38 -05:00
Zach Daniel
fcdd35d336
chore: revert change to used_calculations
2023-11-21 09:32:55 -05:00
Zach Daniel
432d65a003
fix: don't apply sort on manage relationship lookup
...
fix: don't apply filter on manage relationship lookup if it has a parent expr
2023-11-21 09:13:23 -05:00
Jeremy Grant
1ce05562aa
fix: change_attribute failing on a union attribute ( #778 )
2023-11-20 19:10:35 -05:00
Barnabas Jovanovics
a3a176287d
fix: convert upsert fields before passing to data layer ( #777 )
2023-11-20 10:21:16 -05:00
Zach Daniel
1b847fc83c
fix: use sort
and filter
to synonymous_relationship
checks
2023-11-16 10:48:32 -05:00
Zach Daniel
b9f804db10
fix: properly set actor context on calc expressions in ets data layer
2023-11-16 08:18:39 -05:00
Zach Daniel
2d536e0b95
fix: properly pass authorize? option when loading aggregates
2023-11-15 20:25:59 -05:00
Zach Daniel
db44eaea74
fix: properly associate lateral join records with no_attributes? true
2023-11-15 18:38:13 -05:00
Zach Daniel
a983ddcef6
fix: set aggregate context as well as calculation context in filters
2023-11-15 17:46:13 -05:00
Zach Daniel
4a2563d5ae
fix: set actor when computing aggregates that reference calculations
2023-11-15 17:26:57 -05:00
Zach Daniel
c5f59934d4
fix: dialyzer issues on sort
2023-11-14 10:52:32 -05:00
Zach Daniel
bb9b9aea37
fix: properly return constraints in aggregate get_type
2023-11-13 17:11:43 -05:00
Zach Daniel
1a2dc2a14c
chore: format
2023-11-13 17:04:53 -05:00
Simon Bergström
b0d5c08f5d
fix: properly include relationship name message when relationship cannot be found ( #770 )
2023-11-13 17:04:35 -05:00
Zach Daniel
575b1000d1
fix: properly thread constraints through aggregates
2023-11-13 16:47:24 -05:00
Barnabas Jovanovics
abb0854ae9
fix: remove destroyed or unrelated data from the relationship ( #767 )
2023-11-13 13:58:09 -05:00
Eduardo B. A
1775ab5a14
feat: Expand upsert_fields option ( #761 )
...
With this change, upsert_fields accepts the following options:
* `nil`: upsert fields not set;
* `:replace_all`: all fields from resource will be updated;
* `{:replace_all_except, [fields]}`: all fields from resource except fields inside `fields` will be updated;
* `{:replace, [fields]}`: only fields inside `fields` will be updated.
2023-11-13 13:23:16 -05:00