Zach Daniel
114de0af4e
fix: optimize ash type loading
2021-06-24 01:11:54 -04:00
Zach Daniel
dc56376d80
improvement: add error_handler
for create/update/destroy actions
2021-06-23 17:19:59 -04:00
Zach Daniel
b9db67e47e
fix: pass opts through to Jason.Encode.string/2
2021-06-23 12:51:47 -04:00
Zach Daniel
a484006596
fix: properly encode ci string to json
2021-06-23 12:50:13 -04:00
Zach Daniel
8f84d5b4d4
improvement: more engine logging
2021-06-23 12:11:14 -04:00
Zach Daniel
13981d5aa0
fix: :infinity
on engine genserver calls
2021-06-22 13:57:56 -04:00
Zach Daniel
786047c3e7
fix: hide __metadata__ field on inspect
...
fix: load relationships required for calculations (optimize later)
2021-06-08 16:37:47 -04:00
Zach Daniel
a0b0e633d5
fix: don't halt on request handler failure
...
fix: properly error when more than 2 requests of the same type are primary
fix: properly process sort when the sort is an atom
fix: properly calculate reverse relationship paths
2021-06-08 14:42:17 -04:00
Zach Daniel
d45a9dbbfa
improvement: support calculation sorts
2021-06-05 18:11:09 -04:00
Zach Daniel
30af25ba74
fix: always wait on the engine if it hasn't completed
2021-06-05 02:42:40 -04:00
Zach Daniel
3f1f31694d
fix: always wait for engine
...
improvement: spawn async requests where possible
2021-06-04 18:32:08 -04:00
Zach Daniel
9719d0dce5
fix: constraints on calculations
...
fix: better calculation inspect
fix: allow supplying stacktraces when building errors
2021-06-04 14:33:22 -04:00
Zach Daniel
d247004610
feat: expression based calculations for filterable/sortable calculations
...
fix: aggregate authorization issues
improvement: tons of improvements across the board
2021-06-04 01:40:11 -04:00
Zach Daniel
231eeafd30
feat: expression calculations for sorting/filtering
...
improvement: small improvements/fixes across the board
2021-06-04 01:37:11 -04:00
Darren Black
42cc8b9711
docs: Minor documentation tweaks ( #246 )
2021-06-02 10:38:15 -04:00
kernel-io
dd1474a4f6
improvement: Update remaining builtin validators ( #244 )
...
Co-authored-by: David Culina <git@omnium.co>
2021-06-01 20:57:13 -04:00
kernel-io
35af220d9d
feat: add compare validator ( #242 )
...
Co-authored-by: David Culina <git@omnium.co>
2021-06-01 13:32:22 -04:00
kernel-io
42895c50f7
fix: ensure create functions generated by code_interface accept tenant in the opts list ( #243 )
2021-05-31 18:34:54 -04:00
Zach Daniel
d9debc07f1
fix: properly process managed belongs to relationships
2021-05-28 03:12:14 -04:00
Zach Daniel
f895f3ddd8
fix: cast nil -> {:ok, nil} in all cases
2021-05-28 01:47:38 -04:00
kernel-io
0fbf7eab6a
fix: set tenant even on non-tenant resources where relevant ( #241 )
2021-05-27 02:22:24 -04:00
Zach Daniel
86f6719390
improvement: define embedded schemas where appropriate
2021-05-22 23:48:10 -04:00
Zach Daniel
4662c23f68
improvement: calculation.select/2 + select
calculation option
2021-05-20 16:42:26 -04:00
Zach Daniel
584d628047
fix: run after_action hooks in the proper order
...
improvement: add `validate_destination_field?`
improvement: add builtin `select` change
2021-05-20 12:17:56 -04:00
Zach Daniel
d87969ad1b
improvement: set moduledoc to description if one is not set
...
chore: fix some dialyzer typing issues
2021-05-20 01:36:45 -04:00
Zach Daniel
41aaeeed47
fix: fix dialyzer errors for enum + code interface
2021-05-19 01:32:06 -04:00
Zach Daniel
4b028cbf53
chore: lint/build/compiler issues
2021-05-18 23:12:49 -04:00
Zach Daniel
2406732811
fix: fix code interface + args
combo error
...
improvement: support specifying the `upsert_identity` option
2021-05-18 23:05:31 -04:00
Zach Daniel
013b49c2b2
fix: ignore?: true
still accumulates changes
...
fix: properly require_attributes before setting defaults
2021-05-18 01:44:10 -04:00
Zach Daniel
820020d4e5
improvement: ignore?
option for manage_relationship
change
...
fix: set default values before calling resource changes
2021-05-18 00:02:11 -04:00
Zach Daniel
d2e5c06511
fix: reverse-reverse relationship detection
2021-05-17 15:06:49 -04:00
Zach Daniel
de684a27a8
fix: support non-predicates in satsolver
2021-05-16 21:59:06 -04:00
Zach Daniel
50eb787410
improvement: expose default_value/1
in aggregate
2021-05-15 11:56:23 -04:00
Zach Daniel
2ffa0e38b6
fix: raise better error w/ invalid filter expression
2021-05-14 17:02:22 -04:00
Zach Daniel
dd40b24bf9
improvement: transactions for reads, notifications from read callbacks
2021-05-14 11:25:42 -04:00
Zach Daniel
baba0a368a
fix: handle error return in code_interface getter
2021-05-14 01:56:36 -04:00
Zach Daniel
574f6f59a3
improvement: various managed relationship improvements
...
fix: rename `context` -> `relationship_context` to avoid conflict
feat: `on_no_match: :match` supported for to_one rels
2021-05-14 01:07:51 -04:00
Zach Daniel
968e234a31
improvement: set __source__
context for embeds
2021-05-11 00:28:26 -04:00
Zach Daniel
69afdfce25
improvement: utility manage_relationship_source
context
2021-05-10 18:03:36 -04:00
Zach Daniel
de167cea28
chore: format code
2021-05-09 17:25:40 -04:00
Frank Dugan III
a796e0d308
refactor: remove references to "side loading" ( #236 )
2021-05-09 17:24:48 -04:00
Zach Daniel
097447bf38
fix: run action changes on destroy
...
test: test manual actions
fix: pattern match manage_relationship notifications fix
2021-05-09 16:56:44 -04:00
Zach Daniel
7d37f8ae3d
improvement: add manual?
option for create/update/destroy
2021-05-09 16:25:39 -04:00
Zach Daniel
3bd2686de3
improvement: ensure data layer can perform aggregates
2021-05-08 23:31:01 -04:00
Zach Daniel
78247ffa5a
improvement: support filtering on related aggregates
...
improvement: autoload aggregates used in filters
2021-05-08 22:48:05 -04:00
Zach Daniel
990aaf8147
docs: side_loading -> loading
2021-05-08 20:34:44 -04:00
Zach Daniel
be07ffc0dd
fix: don't fail on nil root filters
2021-05-08 20:06:14 -04:00
Zach Daniel
30e443c021
fix: don't raise unnecessary side load error
2021-05-07 16:31:06 -04:00
Zach Daniel
1412052ff6
improvement: fix data-based side loads
2021-05-07 11:57:59 -04:00
Zach Daniel
cb19e66fb5
fix: IsNil function to IsNil operator
2021-05-07 01:51:54 -04:00