Commit graph

133 commits

Author SHA1 Message Date
Michael St Clair
2348d97534
fix: pass calculation to field type (#29) 2021-10-08 15:59:06 -04:00
Zach Daniel
bdf814cae2 fix: fix get resolver not_found message 2021-09-13 16:55:03 -04:00
Zach Daniel
2632e477b3 fix: authorize reads before destroy
fix: return error when get is nil w/ allow_nil? == false
2021-09-12 16:39:48 -04:00
Zach Daniel
300858f418 fix: select in the new after_action hook, for calculations 2021-09-12 02:13:19 -04:00
Michael St Clair
ffa7d3efdd
fix: fix changeset.errors on destroy (#26) 2021-09-11 15:18:38 -04:00
Zach Daniel
f9b1b75edc feat: more configurable error behavior
added `root_level_errors?` and `show_raised_errors?`
2021-09-09 11:49:36 -04:00
Zach Daniel
c11ad2a6a4 WIP 2021-09-09 00:27:49 -04:00
Zach Daniel
d2d8f199f7 fix: search for types in calculations 2021-09-07 17:06:20 -04:00
Zach Daniel
5dfff6a9a2 fix: if no primary key (only embeds support that), don't require id 2021-09-03 14:44:55 -04:00
Zach Daniel
4b78323550 fix: more non null primar keys! 2021-09-03 13:42:00 -04:00
Zach Daniel
91a457ed2e improvement: more non null constraints 2021-09-03 13:30:47 -04:00
Zach Daniel
50a3a1ccda fix: make primary key attributes appropriately non nil 2021-09-03 13:04:52 -04:00
Zach Daniel
d4f97febf5 improvement: support create/update metadata 2021-08-29 15:23:28 -04:00
Zach Daniel
d8a3e1b155 improvement: add groundwork for relay support 2021-08-03 18:56:08 -04:00
Zach Daniel
d4a7012d6e fix: set actor on initial read of record for update 2021-07-30 17:05:22 -04:00
Zach Daniel
476888717a improvement: support latest ash 2021-07-04 16:44:36 -04:00
Zach Daniel
6c92a23040 improvement: update to latest ash 2021-07-01 22:59:16 -04:00
Zach Daniel
3a0b0c3f83 improvement: add as_mutation for queries
improvement: support `modify_resolution` for queries
2021-06-29 12:17:33 -04:00
Zach Daniel
dffe4de9f5 improvement: update to latest rc
improvement: add `short_message` and `vars` to errors
2021-06-28 13:33:01 -04:00
Zach Daniel
b313618d3a fix: include new custom type 2021-06-21 17:20:24 -04:00
Zach Daniel
5e593ec40c improvement: old json -> json_string
improvement: new json does not stringify outpu
2021-06-15 11:16:10 -04:00
Zach Daniel
020ad849ea improvement: add modify_resolution for mutations 2021-06-14 12:08:26 -04:00
Zach Daniel
d86e60ec68 fix: catch error in `massage_filter/2 2021-06-08 17:37:59 -04:00
Zach Daniel
0cc81ce9f6 improvement: support expression calculations 2021-06-04 15:07:12 -04:00
Zach Daniel
0aa2787d52 improvement: support identity: false for read
improvement: don't type embedded resources is nullable
2021-05-22 23:49:31 -04:00
Zach Daniel
053cef4a65 fix: destroys can still have input objects 2021-05-21 10:56:10 -04:00
Zach Daniel
23094215ef fix: avoid dialyzer errors on generated code 2021-05-19 01:29:57 -04:00
Zach Daniel
31bcf8039e fix: traverse all nested embeds for enum type defs 2021-05-18 14:07:01 -04:00
Zach Daniel
3f0aab37e2 improvement: non nullable aggregates where possible 2021-05-15 12:03:58 -04:00
Zach Daniel
2f31650899 fix: don't load fields if no fields to load 2021-05-14 13:08:25 -04:00
Zach Daniel
77bf8788f5 improvement: log error stacktraces 2021-05-14 12:31:12 -04:00
Zach Daniel
8945851fd1 improvement: add stacktraces? option 2021-05-14 12:25:43 -04:00
Zach Daniel
84ca2e7125 chore: format 2021-05-12 06:49:08 -04:00
Simon Bergström
c222e8088a
fix: Check for nil rather than the value as not does not accept a function (#23)
Co-authored-by: Simon Bergström <simon.bergstrom@erlang-solutions.com>
2021-05-12 06:48:58 -04:00
Zach Daniel
2422440da7
test: Added a test case to managed_relationship with a many_to_many resource (#22)
fix: fix compiler warning

Co-authored-by: Simon Bergström <simon.bergstrom@erlang-solutions.com>
2021-05-11 19:35:50 -04:00
Zach Daniel
3215bdbe12 fix: identities -> lookup_identities 2021-05-11 17:36:09 -04:00
Zach Daniel
aed4306fb9 fix: don't require attributes that should not be required 2021-05-11 17:27:26 -04:00
Zach Daniel
5ecf8bf838 improvement: allow customizing identity/pkey on_lookup 2021-05-11 12:12:28 -04:00
Zach Daniel
b8ca64590f fix: support soft destroys
fix: support actions with no input objects
2021-05-10 02:19:47 -04:00
Zach Daniel
83e0e604a7 improvement: support eliding a type from an input object 2021-05-06 17:22:48 -04:00
WolfDan
c530245295
improvement: Add float type (#20) 2021-05-05 16:15:01 -04:00
Zach Daniel
5a1df9f95a fix: ensure api modules are properly compiled first 2021-05-05 14:50:03 -04:00
Zach Daniel
06d674aac6 fix: don't have leaky errors
fix: support filtering on aggregates in nested resolvers
2021-05-04 13:01:15 -04:00
Zach Daniel
405264911c fix: properly support limit/offset on relationships 2021-05-04 09:31:39 -04:00
Zach Daniel
98f76fa28d chore: fix after? 2021-05-01 16:30:55 -04:00
Zach Daniel
64d87106e5 fix: error rendering some paginated results
fix: ensure id is required after belongs_to attribute
2021-05-01 16:29:18 -04:00
Zach Daniel
a8df1da3cd fix: don't require input types for filters 2021-04-30 16:22:21 -04:00
Zach Daniel
13799c37e7 fix: don't raise on missing relationship actions
fix: properly detect selection of count
2021-04-28 16:54:06 -04:00
Zach Daniel
f1f96cebe7 fix: support Has operator 2021-04-27 13:17:16 -04:00
Zach Daniel
74c2b78d69 fix: properly calculate array aggregate types 2021-04-27 11:40:02 -04:00