Zach Daniel
a74bba60e0
chore: credo
2023-11-29 09:47:46 -05:00
Zach Daniel
b11999b815
chore: release version v2.17.7
2023-11-29 09:34:41 -05:00
Zach Daniel
e1193098c8
fix: don't eager evaluate composite type construction
2023-11-29 09:34:26 -05:00
Zach Daniel
61351e3981
ci: test migration generation in subprojects as well
2023-11-29 09:09:05 -05:00
Zach Daniel
3bc0d975a6
chore: fix call to compile_env!
2023-11-28 13:58:11 -05:00
Zach Daniel
27318c32cb
improvement: forbid using resources as types
2023-11-28 13:51:50 -05:00
Zach Daniel
4e0566fe0d
improvement: add composite_type/2
and composite_type/3
2023-11-27 19:11:52 -05:00
Zach Daniel
e45bc6948e
chore: release version v2.17.6
2023-11-27 16:20:47 -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
ed2de7eb9b
chore: release version v2.17.5
2023-11-27 12:56:04 -05:00
Zach Daniel
c82542ce55
improvement: add composite?/1
and composite_types/1
to Ash.Type
2023-11-27 12:55:39 -05:00
Zach Daniel
83d5bdd55e
fix: properly create new vectors from strings
2023-11-26 18:53:23 -05:00
Zach Daniel
71e6c8bd7b
chore: release version v2.17.4
2023-11-24 07:23:54 -05:00
Zach Daniel
be935723d2
fix: properly resolve nested calculation dependencies
2023-11-24 07:23:38 -05:00
Zach Daniel
fcdd35d336
chore: revert change to used_calculations
2023-11-21 09:32:55 -05:00
Zach Daniel
432d65a003
fix: don't apply sort on manage relationship lookup
...
fix: don't apply filter on manage relationship lookup if it has a parent expr
2023-11-21 09:13:23 -05:00
Jeremy Grant
1ce05562aa
fix: change_attribute failing on a union attribute ( #778 )
2023-11-20 19:10:35 -05:00
Barnabas Jovanovics
a3a176287d
fix: convert upsert fields before passing to data layer ( #777 )
2023-11-20 10:21:16 -05:00
Zach Daniel
82059d0dc6
chore: add postgres-version variable
2023-11-17 06:38:36 -05:00
Zach Daniel
1cb544ddfa
docs: small tweak to lifecycle example
2023-11-17 03:23:52 -05:00
Zach Daniel
d738e56fac
chore: format
2023-11-16 15:20:28 -05:00
Zach Daniel
09d4d380c2
chore: add lifecycle cheat-sheet
2023-11-16 15:15:28 -05:00
Zach Daniel
bf547ab8d8
chore: release version v2.17.3
2023-11-16 10:52:14 -05:00
Zach Daniel
1b847fc83c
fix: use sort
and filter
to synonymous_relationship
checks
2023-11-16 10:48:32 -05:00
Zach Daniel
b998ea37d7
chore: release version v2.17.2
2023-11-16 08:24:55 -05:00
Zach Daniel
b9f804db10
fix: properly set actor context on calc expressions in ets data layer
2023-11-16 08:18:39 -05:00
Zach Daniel
2d536e0b95
fix: properly pass authorize? option when loading aggregates
2023-11-15 20:25:59 -05:00
Zach Daniel
db44eaea74
fix: properly associate lateral join records with no_attributes? true
2023-11-15 18:38:13 -05:00
Zach Daniel
a983ddcef6
fix: set aggregate context as well as calculation context in filters
2023-11-15 17:46:13 -05:00
Zach Daniel
4a2563d5ae
fix: set actor when computing aggregates that reference calculations
2023-11-15 17:26:57 -05:00
Daniel Newman
8103831cf6
Bug: Actor not being passed
2023-11-15 17:05:31 -05:00
Bryan Bryce
37058a5b78
doc: Fix module reference in Relationship Guide ( #774 )
2023-11-14 17:19:19 -05:00
Zach Daniel
c5f59934d4
fix: dialyzer issues on sort
2023-11-14 10:52:32 -05:00
Zach Daniel
68367ac41f
chore: release version v2.17.1
2023-11-14 10:34:29 -05:00
Zach Daniel
bb9b9aea37
fix: properly return constraints in aggregate get_type
2023-11-13 17:11:43 -05:00
Zach Daniel
1a2dc2a14c
chore: format
2023-11-13 17:04:53 -05:00
Simon Bergström
b0d5c08f5d
fix: properly include relationship name message when relationship cannot be found ( #770 )
2023-11-13 17:04:35 -05:00
Zach Daniel
9141ed6bb6
chore: release version v2.17.0
2023-11-13 16:48:06 -05:00
Zach Daniel
575b1000d1
fix: properly thread constraints through aggregates
2023-11-13 16:47:24 -05:00
Barnabas Jovanovics
abb0854ae9
fix: remove destroyed or unrelated data from the relationship ( #767 )
2023-11-13 13:58:09 -05:00
Eduardo B. A
1775ab5a14
feat: Expand upsert_fields option ( #761 )
...
With this change, upsert_fields accepts the following options:
* `nil`: upsert fields not set;
* `:replace_all`: all fields from resource will be updated;
* `{:replace_all_except, [fields]}`: all fields from resource except fields inside `fields` will be updated;
* `{:replace, [fields]}`: only fields inside `fields` will be updated.
2023-11-13 13:23:16 -05:00
Zach Daniel
1470696a73
fix: properly strip extra record requested to detect more?
pages.
2023-11-13 13:18:35 -05:00
James Harton
173f4ae5ad
docs: Spelling fix (wether
-> whether
). ( #764 )
...
Wether: noun
1. A castrated male sheep or goat.
Whether: conjuction
1. Used to indirect questions to introduce one alternative.
2. Used to introduce alternative possibilities.
3. Either.
2023-11-09 15:52:13 +13:00
James Harton
050af513fd
docs: Add note about returning resources from generic actions. ( #763 )
2023-11-06 10:49:13 +13:00
Zach Daniel
780eae8d69
improvement: honor authorize?: false
option in generic actions
2023-10-27 15:28:51 -04:00