Barnabas Jovanovics
1185b615f8
fix: Only create values for attributes that did not get a generator ( #595 )
2023-06-02 08:18:02 -04:00
Zach Daniel
bf6797619b
improvement: verify reserved calc names, support as
input
2023-06-01 13:26:54 -04:00
Dmitry Maganov
adb6cefac1
fix: remove field name from string length error message ( #594 )
...
* fix: remove field name from string length error message
* fix: remove old unused `Error.Changes.UnknownError`
* fix: do not capitalize ash error messages
* fix: change error kind code for `Ash.Error.Forbidden.Policy`
2023-06-01 02:29:19 -04:00
Zach Daniel
5ab0c08f0f
fix: properly load aggregates required for keyset pagination
2023-05-30 22:17:05 -04:00
Zach Daniel
e521048809
fix: properly load depended on source attributes
2023-05-30 21:31:48 -04:00
Zach Daniel
282c8945bb
fix: handle pre-hydrated predicates in expressions
2023-05-29 09:57:10 -04:00
Zach Daniel
f6b14d0030
fix: handle nil
errors on bulk creates
2023-05-27 20:18:45 -04:00
Dmitry Maganov
77310bb1f6
fix: add :forbidden
to error_class
, lowercase code for Forbidden
( #589 )
2023-05-27 11:45:01 -04:00
Zach Daniel
37710af26f
fix: proper required value validations in bulk creates
...
fix: don't use error count in place of errors
2023-05-27 00:22:15 -04:00
Zach Daniel
1ab8d3636e
improvement: make loading?/2
smarter
2023-05-26 23:58:35 -04:00
Zach Daniel
6ae41d58e8
fix: properly manage relationships on bulk creates
...
fix: validations could undo certain changeset changes in bulk creates
2023-05-26 10:25:35 -04:00
Zach Daniel
d2b54fdda9
fix: properly upsert on non batchable rows
2023-05-25 11:34:13 -04:00
Zach Daniel
5af9dc6696
fix: properly honor the return_errors?
option
2023-05-25 09:46:27 -04:00
Zach Daniel
958f977139
improvement: better support for multiple code interfaces w/ same name
2023-05-23 19:10:11 -04:00
Zach Daniel
58329a073d
fix: properly wrap errored changesets in bulk creates
2023-05-23 13:44:48 -04:00
Zach Daniel
35b1278830
fix: don't notify unless notify?: true
in bulk creates
2023-05-23 10:45:31 -04:00
Zach Daniel
d56937aeb6
fix: properly wrap errored changesets in {:error
in bulk creates
2023-05-23 10:42:12 -04:00
Zach Daniel
6fb348c162
improvement: handle bulk transaction errors better
2023-05-22 21:01:46 -04:00
Alan Heywood
62ef8ff19c
fix: swap Exception.exception?
for Kernel.is_exception
( #584 )
2023-05-22 16:11:25 -04:00
Shirish Goyal
13f834ad09
docs: Fix for code_interface generated help ( #583 )
...
"actor" term was duplicated and one of them was supposed to be "tracer"
2023-05-19 09:06:46 +12:00
739dbb89a1
fix: accidental variable shadowing in calculation loading.
2023-05-18 16:33:01 +12:00
Alan Heywood
1653162041
fix: add missing batch_size opt for bulk_create ( #581 )
2023-05-18 00:05:29 -04:00
Zach Daniel
6ec06ca867
chore: release version v2.9.9
2023-05-17 22:37:39 -04:00
Zach Daniel
687723730a
fix: errors on casting arrays of unions in newtypes
2023-05-17 22:36:47 -04:00
Zach Daniel
66ea912f8c
improvement: add unavailable error
2023-05-17 13:15:24 -04:00
Zach Daniel
f7f96bb463
fix: don't require {:data_layer, *}
for custom locks
2023-05-16 15:16:40 -04:00
Zach Daniel
c99c36d8c8
docs: update get_and_lock/1
docs
2023-05-16 15:00:16 -04:00
Zach Daniel
7de83e8bb1
improvement: add get_and_lock/1
builtin change
2023-05-16 14:59:47 -04:00
Zach Daniel
ca1769900f
fix: don't use :map
as storage type for Map
2023-05-15 09:49:30 -04:00
James Harton
7326ca330e
improvement(Ash.Type.Module): Add :module
type. ( #578 )
2023-05-15 07:26:52 -04:00
Zach Daniel
ccacfd78fc
improvement: handle ci strings in cast_stored
2023-05-11 15:51:41 -04:00
Zach Daniel
db715f5153
docs: remove reference to filter
option in Query.aggregate
2023-05-10 23:17:46 -04:00
Zach Daniel
8fdd319697
chore: small fixes around optimistic locking
2023-05-08 16:10:46 -04:00
Zach Daniel
d1a64a66e5
improvement: better default overflow logic
...
improvement: custom stale record error
2023-05-08 15:28:50 -04:00
Zach Daniel
4cd5ae2c02
chore: fix dialyzer
2023-05-08 15:16:44 -04:00
Zach Daniel
b09d8781ca
improvement: optimistic locking via changeset.filters
2023-05-08 15:13:46 -04:00
bcksl
b9569b57c3
docs: bulk_create
does not support automatic upsert_fields
2023-05-08 09:41:21 +12:00
zimt28
7d070e49bb
Correctly map results of inline calculations ( #573 )
2023-05-06 13:03:40 -04:00
Moxley Stratton
84aff5a999
Improve documentation for Ash.Changeset.add_error/3 ( #572 )
2023-05-05 20:23:03 -04:00
Zach Daniel
c174713b70
fix: user proper upsert identity for bulk operations
2023-05-04 11:07:44 -04:00
Zach Daniel
ab3267fdc8
chore: credo
2023-05-03 19:58:09 -04:00
Zach Daniel
b376b7267a
fix: ecto type of map is just :map
2023-05-03 19:56:42 -04:00
Zach Daniel
f04ffd5ebd
improvement: support bulk upserts
2023-05-02 21:56:15 -04:00
Zach Daniel
80820a01fc
fix: unbound variable in schema definition
2023-05-02 20:11:31 -04:00
Zach Daniel
e05b5058dc
docs: bulk actions docs
2023-05-02 20:08:25 -04:00
Zach Daniel
523452cb94
docs: basic actions -> generic actions
2023-05-02 20:00:18 -04:00
Zach Daniel
5d3235dbf9
fix: fix dialyzer
2023-05-02 19:52:03 -04:00
Zach Daniel
3a6d79e1c6
improvement: bulk create improvements, docs
2023-05-02 19:48:29 -04:00
Zach Daniel
1e61ae2d3c
improvement: finishing initial touches on bulk actions
2023-05-02 17:24:24 -04:00
Zach Daniel
0d6a86e54e
fix: proper return value for synthesized bulk creates
2023-05-02 14:28:27 -04:00