Igor Barakaiev
|
0ae14bdf71
|
docs: Clarify how to use Enums in attributes (#790)
|
2023-12-02 22:34:23 -05:00 |
|
Zach Daniel
|
198b290b10
|
chore: update docs showing map values for composite types
|
2023-11-29 10:23:10 -05:00 |
|
Zach Daniel
|
51b02c6459
|
docs: add docs for composite types
|
2023-11-29 10:09:12 -05:00 |
|
Zach Daniel
|
fdc2bc9a58
|
improvement: support key aliases for composite types
|
2023-11-27 16:20:30 -05:00 |
|
Zach Daniel
|
5703e26adc
|
chore: add Ash.Type functions for new callbacks
|
2023-11-27 13:14:33 -05:00 |
|
Zach Daniel
|
438331e2e9
|
chore: move overridable callbacks to correct type
|
2023-11-27 13:06:17 -05:00 |
|
Zach Daniel
|
d36972ca8b
|
chore: make new Ash.Type callbacks overridable
|
2023-11-27 13:03:20 -05:00 |
|
Zach Daniel
|
c6a2e56142
|
fix: ensure NewType honors new composite callbacks
|
2023-11-27 12:59:56 -05:00 |
|
Zach Daniel
|
e043521625
|
chore: fix callbcak location
|
2023-11-27 12:57:18 -05:00 |
|
Zach Daniel
|
c82542ce55
|
improvement: add composite?/1 and composite_types/1 to Ash.Type
|
2023-11-27 12:55:39 -05:00 |
|
Jeremy Grant
|
1ce05562aa
|
fix: change_attribute failing on a union attribute (#778)
|
2023-11-20 19:10:35 -05:00 |
|
Zach Daniel
|
5ea570591b
|
fix: don't attempt to key a struct
|
2023-10-27 11:07:11 -04:00 |
|
Zach Daniel
|
0a0148214a
|
fix: ensure item constraints are passed to array casting
|
2023-10-27 00:37:28 -04:00 |
|
Zach Daniel
|
348488e377
|
chore: fix typo copypasta
|
2023-10-26 22:07:33 -04:00 |
|
Zach Daniel
|
7b50a401d8
|
fix: optimize and make Ash.Type more consistent
|
2023-10-26 22:04:57 -04:00 |
|
Zach Daniel
|
34a4e416b0
|
fix: fix typespec for include_source/2
|
2023-10-26 10:11:54 -04:00 |
|
Robert Graff
|
a48d43e79d
|
fix more handle change use cases (#757)
|
2023-10-25 17:47:50 -04:00 |
|
Robert Graff
|
f03b6a4370
|
fix: handle builtin types in unions (#752)
|
2023-10-25 08:31:25 -04:00 |
|
Zach Daniel
|
d5621fbc8c
|
improvement: cast_input for default values at compile time
|
2023-10-19 11:57:07 -04:00 |
|
Zach Daniel
|
ccf635e711
|
improvement: better storage_type handling, undo function change
|
2023-10-17 14:46:28 -04:00 |
|
Zach Daniel
|
7849541b29
|
chore: fix typespec
|
2023-10-17 13:58:17 -04:00 |
|
Zach Daniel
|
5d85c5be14
|
improvement: properly honor ecto type init callback
|
2023-10-17 13:39:21 -04:00 |
|
Zach Daniel
|
d9bacc1554
|
fix: handle new type constraints properly
|
2023-10-17 12:50:14 -04:00 |
|
Zach Daniel
|
7301e09654
|
chore: fetch type in include_source/3
|
2023-10-17 11:11:18 -04:00 |
|
Zach Daniel
|
eca3b84105
|
chore: generalize embed type __source__ logic
|
2023-10-17 11:03:50 -04:00 |
|
Zach Daniel
|
fcc7e3b08a
|
chore: revert recent change to datetime storage type default
|
2023-10-17 10:26:05 -04:00 |
|
Zach Daniel
|
20cc1cc24e
|
improvement: various optimizations and compile time caching
fix: fix type casting for embedded resources
|
2023-10-17 10:18:26 -04:00 |
|
Zach Daniel
|
7f7469eb9f
|
improvement: various performance improvements
|
2023-10-17 01:08:26 -04:00 |
|
Zach Daniel
|
52337b7bff
|
improvement: various optimizations for bulk create actions
|
2023-10-16 23:50:05 -04:00 |
|
Zach Daniel
|
5a462a3ffc
|
fix: undo regression where errors weren't wrapped in a changeset
|
2023-10-13 16:51:10 -04:00 |
|
Zach Daniel
|
4fe4411286
|
fix: provide full constraints when determining Ash.Type.NewType storage types
|
2023-10-12 10:57:10 -04:00 |
|
Zach Daniel
|
b93cbb9577
|
fix: go back to original default timestamp behavior
fixes #733
|
2023-10-12 07:25:46 -04:00 |
|
Zach Daniel
|
c77ad34efb
|
improvement: set storage type for citext to ci_string
|
2023-10-10 14:12:01 -04:00 |
|
Zach Daniel
|
c691eb022c
|
improvement: allow overriding cast_input/2 on NewType
|
2023-10-04 11:51:59 -04:00 |
|
Dmitry Maganov
|
6d94582360
|
fix: fix types for min /max constraints in Type.Float (#718)
|
2023-10-02 18:01:55 -04:00 |
|
Barnabas Jovanovics
|
7e4caf043f
|
fix: return unions as is if load is empty (#714)
* return unions as is if load is empty
* do not load on forbidden fields
|
2023-09-29 10:21:05 -04:00 |
|
Zach Daniel
|
10b1030f5c
|
chore: remove IO.inspect
|
2023-09-28 20:22:32 -04:00 |
|
Zach Daniel
|
82b9174afe
|
fix: unions, only load through types when loadable
|
2023-09-28 20:11:29 -04:00 |
|
Zach Daniel
|
c6dc97f17c
|
fix: ensure constraints are properly set in map/new_types
|
2023-09-28 18:51:58 -04:00 |
|
Zach Daniel
|
04c9249f24
|
fix: properly perform field authorization on loaded through types
|
2023-09-28 10:23:16 -04:00 |
|
Zach Daniel
|
27a368660f
|
improvement: expose max/min constraints on Ash.Type.Float
|
2023-09-26 08:26:34 -04:00 |
|
Zach Daniel
|
728a63b416
|
chore: default Ash.Type.Datetime storage type
I shouldn't have to do this, though?
|
2023-09-25 11:19:25 -04:00 |
|
Zach Daniel
|
93fc4a35b2
|
improvement: rework utc_datetime to datetime
the old types are now newtypes over the new type
fixes: #704
|
2023-09-25 11:11:56 -04:00 |
|
Zach Daniel
|
1a307385b5
|
improvement: add sequence generator utility
|
2023-09-21 18:51:30 -04:00 |
|
Zach Daniel
|
6a2f0e41e5
|
chore: format
|
2023-09-20 16:59:56 -04:00 |
|
Zach Daniel
|
3d2c012189
|
chore: clean up dialyzer errors
|
2023-09-20 16:39:28 -04:00 |
|
Zach Daniel
|
05b9ac1f86
|
improvement: make storage_type overridable by new_types
|
2023-09-20 16:25:09 -04:00 |
|
Zach Daniel
|
b0bd2d23d9
|
improvement: support map_with_tag storage mode for Ash.Union .
closes #694
|
2023-09-18 10:13:22 -04:00 |
|
Zach Daniel
|
f6f0a3e26f
|
fix: get type for manual action at compile time
|
2023-09-15 13:25:29 -04:00 |
|
Zach Daniel
|
b900290f0d
|
docs: update custom type docs to handle nil values
|
2023-09-14 22:36:23 -04:00 |
|