Commit graph

703 commits

Author SHA1 Message Date
Zach Daniel
d7ec7da419
improvement: refactor forms with new data structure AshPhoenix.Form (#6)
Co-authored-by: Darren Black <dblack@totaltrash.net>
2021-07-15 14:09:15 -04:00
Zach Daniel
a7b2296d43 chore: refactor the use_data? change 2021-07-12 17:37:06 -04:00
Zach Daniel
e98c617405 chore: fix lint 2021-07-12 17:19:17 -04:00
Zach Daniel
9350101bb5 improvement: add use_data? opt to add_related
test: add some tests for `add_related`
fix: don't assume an empty map is an indexed map
2021-07-12 17:19:06 -04:00
Darren Black
5e3e6e02e3
docs: Minor doc formatting fixes (#4) 2021-07-09 22:30:30 -04:00
Zach Daniel
c51ea93a15
docs: Note regression in 0.4.19 2021-07-09 22:30:10 -04:00
Zach Daniel
fde14310cf chore: release version v0.4.23 2021-07-01 23:12:40 -04:00
Zach Daniel
4a268301b6 improvement: update to latest ash 2021-07-01 23:12:31 -04:00
Zach Daniel
160efbc9f6 chore: release version v0.4.22-rc2 2021-06-24 18:31:47 -04:00
Zach Daniel
6bb388fb5c chore: update git_ops 2021-06-24 18:30:14 -04:00
Zach Daniel
6c84e96c8d fix: handle ash core revert 2021-06-24 18:27:37 -04:00
Zach Daniel
554286516d chore: release version v0.4.22-rc1 2021-06-24 17:49:31 -04:00
Zach Daniel
996ed1fa8e chore: release version v0.4.22-rc0 2021-06-24 17:43:56 -04:00
Zach Daniel
c7e6e8264e fix: use new ash type primitives 2021-06-24 17:43:56 -04:00
Zach Daniel
434b0da801 fix: map_input_to_list on manage 2021-06-13 22:14:02 -04:00
Zach Daniel
f8f4cea62e fix: understand indexed lists in relationship data 2021-06-13 22:11:43 -04:00
Zach Daniel
26d24b4801 imorovement: add_to_path when 0th item is updating 2021-06-13 21:25:04 -04:00
Zach Daniel
d5a485e068 fix: fix case where "lists" weren't properly added to
test: add unit tests for `add_to_path/3`
2021-06-13 20:23:14 -04:00
Jason Axelson
a43e2a56de Note regression in 0.4.19 2021-06-13 10:21:44 -10:00
Zach Daniel
a0d196f027 chore: release version v0.4.21 2021-05-14 02:35:48 -04:00
Zach Daniel
2874070ff8 fix: use proper input params for embeds 2021-05-14 02:35:33 -04:00
Zach Daniel
fbaf4c8ece chore: release version v0.4.20 2021-05-14 00:34:48 -04:00
Zach Daniel
98e26a9544 improvement: various improvements to relationship manipulation functions
fix: add removed embeds to hidden fields
2021-05-14 00:34:01 -04:00
Zach Daniel
4eca3c8333 chore: release version v0.4.19 2021-05-12 20:18:06 -04:00
Zach Daniel
b896735091 fix: support for to many rels as to_one manipulations 2021-05-12 20:15:08 -04:00
Zach Daniel
40653808dd chore: release version v0.4.18 2021-05-10 17:45:20 -04:00
Zach Daniel
025b6e0058 improvement: track manage_relationship_source, as a utility 2021-05-10 17:44:54 -04:00
Zach Daniel
cf004c9701 chore: release version v0.4.17 2021-05-10 13:19:55 -04:00
Zach Daniel
bde7926ed1 fix: ensure error message is always a string 2021-05-10 13:18:41 -04:00
Zach Daniel
6fc40e1497 chore: release version v0.4.16 2021-04-27 14:19:32 -04:00
Zach Daniel
5c3ea08838 fix: support embeds in relationships 2021-04-27 14:18:48 -04:00
Zach Daniel
6b2d3c5f9b chore: release version v0.4.15 2021-04-17 15:33:02 -04:00
Zach Daniel
c3c4ce11be fix: remove IO.inspect (facepalm) 2021-04-17 15:32:37 -04:00
Zach Daniel
718cec8354 chore: release version v0.4.14 2021-04-17 15:25:17 -04:00
Zach Daniel
7b618a8816 fix: support proper nested embedded appends 2021-04-17 15:24:58 -04:00
Zach Daniel
c1a4265059 chore: release version v0.4.13 2021-04-16 13:04:59 -04:00
Zach Daniel
7ed71ba4df improvement: add add_value/4 and remove_value/3 helpers 2021-04-16 13:04:37 -04:00
Zach Daniel
a7f2bbafb8 chore: release version v0.4.12 2021-04-14 13:34:37 -04:00
Zach Daniel
68809250aa chore: fix lint/dialyzer 2021-04-14 13:34:29 -04:00
Zach Daniel
45970eb163 fix: check for managed relationship before embedded input 2021-04-14 13:28:53 -04:00
Zach Daniel
4178df8654 chore: release version v0.4.11 2021-04-06 10:13:07 -04:00
Zach Daniel
05d18f1444 improvement: support invalid argument errors 2021-04-06 10:10:44 -04:00
Zach Daniel
6f8e41b468 fix: handle empty error fields 2021-04-06 10:10:38 -04:00
Zach Daniel
c516079844
Merge pull request #1 from totaltrash/form_errors
Add form errors for invalid arguments
2021-04-06 10:10:04 -04:00
Darren Black
650d38e7ad Add form errors for invalid arguments 2021-03-31 17:42:39 +11:00
Zach Daniel
c2196a5a9e chore: release version v0.4.10 2021-03-30 01:35:33 -04:00
Zach Daniel
918646853d fix: fix remove from path with indices 2021-03-30 01:35:15 -04:00
Zach Daniel
3d8df17779 fix: append values to maps properly 2021-03-30 01:16:27 -04:00
Zach Daniel
b154943894 chore: release version v0.4.9 2021-03-28 18:34:30 -04:00
Zach Daniel
31a4943038 fix: handle adding to array paths bettter 2021-03-28 18:34:09 -04:00