Commit graph

1362 commits

Author SHA1 Message Date
Jason Axelson
a4262965ea
chore: Enable Credo's Readability.StrictModuleLayout (#228)
Enforce layout of module parts
2021-04-18 19:41:49 -04:00
Zach Daniel
8baf6a32d7 chore: release version v1.41.7 2021-04-18 16:20:20 -04:00
Zach Daniel
060dadeff1 fix: clearer errors when resource fails to compile 2021-04-18 16:20:05 -04:00
Zach Daniel
a75bfd4203 improvement: add list access to context 2021-04-17 19:34:28 -04:00
Zach Daniel
33ac53faa5 fix: don't preload multiplicatively 2021-04-17 18:22:20 -04:00
Vadim Tsvetkov
0d13cd8b3d
fix: Decimal casting issues on ash_postgres (#227) 2021-04-17 15:00:43 -04:00
Zach Daniel
b028dad1cd improvement: add Resource.input/1 2021-04-17 13:50:55 -04:00
Zach Daniel
44deae86dd chore: release version v1.41.6 2021-04-16 14:25:08 -04:00
Zach Daniel
bd7f4f9532 fix: use items for single constraints 2021-04-16 14:16:45 -04:00
Zach Daniel
ddda9e758f chore: release version v1.41.5 2021-04-15 14:59:29 -04:00
Zach Daniel
ad2772034c fix: don't overwrite select in side_load 2021-04-15 14:57:49 -04:00
Zach Daniel
39a06e79fe chore: release version v1.41.4 2021-04-14 23:39:49 -04:00
Zach Daniel
5425660752 fix: load relationships for management properly
fix: `fetch_key` bug in embedded types
fix: handle_indexed_maps for embedded types
2021-04-14 23:38:51 -04:00
Zach Daniel
f97caad908 chore: release version v1.41.3 2021-04-14 14:19:35 -04:00
Zach Daniel
a6b880ce86 fix: handle no key provided to NotFound
chore: add tests for `get!`
2021-04-14 14:18:05 -04:00
Zach Daniel
6ccf0e47d4 chore: release version v1.41.2 2021-04-13 17:44:58 -04:00
Zach Daniel
c3c0abb239 docs: update documentation 2021-04-13 17:44:48 -04:00
Zach Daniel
2f634ae36a improvement: special provisions for casting to embedded type (e.g uuid)
fix: embedded cast_stored must cast all key/values
fix: ci_string constraints when `nil`
fix: manage_relationship change turns embedded resources to maps
fix: fixes for common types parsing from embedded, e.g utc_datetime_usec
2021-04-13 17:41:16 -04:00
Zach Daniel
8545509462 chore: release version v1.41.1 2021-04-13 16:28:19 -04:00
Zach Daniel
e20ffe9636 fix: get! should raise on nil not {:ok, nil} 2021-04-13 16:28:01 -04:00
Zach Daniel
2ad23b5b4d chore: release version v1.41.0 2021-04-13 16:22:25 -04:00
Zach Daniel
0ee074c176 fix: allow_nil -> allow_nil_input 2021-04-13 16:22:13 -04:00
Zach Daniel
3a6afc5f53 chore: release version v1.40.0 2021-04-13 15:49:42 -04:00
Zach Daniel
e353ea49c3 fix: allow api.load/2 to load calculations
improvement: add `allow_nil_input` to create actions for api layers
improvement: add `load/1` builtin change
feat: change `get?: true` interface functions to raise on `nil`
2021-04-13 15:49:42 -04:00
Zach Daniel
00608e00d7
Update backers.md 2021-04-12 23:19:26 -04:00
Zach Daniel
ddd53e9018 chore: release version v1.39.7 2021-04-12 16:53:28 -04:00
Zach Daniel
567df21422 fix: always select necessary load fields for nested loads 2021-04-12 16:51:31 -04:00
Vitor Oliveira
cc45207aa0
docs: Minor doc changes (#224) 2021-04-10 17:36:40 -04:00
Zach Daniel
3df91d812b chore: release version v1.39.6 2021-04-10 16:59:14 -04:00
Zach Daniel
3e29b4e00d fix: always select necessary fields for side loading 2021-04-10 16:58:37 -04:00
Zach Daniel
782a6d9de0 chore: release version v1.39.5 2021-04-09 00:48:38 -04:00
Zach Daniel
c21e310996 fix: logic bug in selecting specific fields 2021-04-09 00:47:22 -04:00
Zach Daniel
2bde05a916 chore: release version v1.39.4 2021-04-09 00:10:50 -04:00
Zach Daniel
250186a0ea chore: update docs 2021-04-09 00:10:01 -04:00
Zach Daniel
ec57f363ed improvement: support the datalayer selecting fields in reads 2021-04-09 00:10:01 -04:00
Zach Daniel
05c933215c
Update backers.md 2021-04-07 22:32:41 -04:00
Zach Daniel
8316fa466a chore: update docs 2021-04-05 13:46:37 -04:00
Zach Daniel
f454f98f3f docs: add docs on managing relationships 2021-04-05 13:45:39 -04:00
Zach Daniel
fbf2b1b861 chore: release version v1.39.3 2021-04-04 16:01:54 -04:00
Zach Daniel
425a1ce59e chore: fix description 2021-04-04 16:01:37 -04:00
Michael St Clair
6805d431ac
improvement: add sum aggregate (#221) 2021-04-04 16:00:53 -04:00
Zach Daniel
7ecd72e61d chore: release version v1.39.2 2021-04-04 03:13:02 -04:00
Zach Daniel
4190a760e2 improvement: allow specifying that calculation can't be nil (#220) 2021-04-04 03:12:56 -04:00
Michael St Clair
fec77dd92f
allow specifying that calculation can't be nil (#220) 2021-04-04 03:11:43 -04:00
Zach Daniel
cba34b0177 chore: release version v1.39.1 2021-04-03 14:41:13 -04:00
Zach Daniel
db26a1cc61 fix: update struct_field logic for latest ecto 2021-04-03 14:35:04 -04:00
Alan K
41442ddf19
Docs: Fix Api.get example (#219)
The `Api.get` example in the docs uses the email instead of the ID to
get the newly created resource. Trying this locally while running
through the getting started tutorial returns a `nil` resource using the
email, but the correct resource when using the ID.

This fix updates the docs to use the ID in the get call.
2021-04-03 12:28:02 -04:00
Zach Daniel
7faf73097a fix: apply proper interface operation when opts aren't passed 2021-04-02 10:21:10 -04:00
Zach Daniel
4151716807 chore: release version v1.39.0 2021-04-01 11:54:41 -04:00
Zach Daniel
92344029d3 improvement: before_action? on validate, validate inline 2021-04-01 11:53:52 -04:00