Commit graph

191 commits

Author SHA1 Message Date
Dmitry Kulakov
5846b70315 feat: allow using custom delimiters for pubsub topics 2024-02-11 16:45:05 -04:00
Alexander Richard Römpke
f7024f2b6c
docs: Update constraints.md (#869)
The username is not an argument, i replaced it with the argument title.
2024-02-06 09:45:32 -05:00
Steve Frank
7bb3addb38
docs: Add 'use Ash.Resource.Validation' to documentation (#865) 2024-02-02 12:27:15 -05:00
Zach Daniel
8e82d9588f chore: better handling of atomic validations 2024-01-29 17:55:56 -05:00
Zach Daniel
c48cb08026
improvement: rewrite read actions to not use Ash.Engine (#836) 2024-01-19 00:05:42 -05:00
Zach Daniel
072486bebd docs: revamp hexdocs
fix: use current read action for counting
2024-01-12 14:07:35 -05:00
Rebecca Le
0a4a7c057d
feat: Allow :self as an option when requesting a relative page from a given page (#833) 2024-01-12 00:16:41 -05:00
Zach Daniel
35573a6f4e improvement: support join_filters in aggregates 2024-01-11 14:57:22 -05:00
Rebecca Le
13f8a0c0cb
docs: Rewrite some of the pagination guide to be a bit clearer (#829)
* docs: Rewrite some of the pagination guide to be a bit clearer

---------

Co-authored-by: Zach Daniel <zachary.s.daniel@gmail.com>
2024-01-11 10:04:20 -05:00
Rohan Relan
426e471cbe
docs: Update security.md to fix bug in showing when to pass the actor (#817) 2024-01-05 10:07:43 -05:00
Zach Daniel
fe2156a9ac imorovement: support bulk action callbacks in the data layer 2023-12-31 00:49:22 -05:00
Chakib Ouhajjou
c7738255f0
docs: Sorting for hex documentation added (#810) 2023-12-27 10:22:59 -05:00
Zach Daniel
d390d65146 improvement: simplify used aggregate detection
improvement: add `lazy/1` to expressions
docs: add expression docs
2023-12-22 19:06:13 -05:00
Igor Barakaiev
15a607eea2
docs: Add a cross-API many-to-many example to the documentation (#800)
* Add a cross-API many-to-many example
---------

Co-authored-by: Zach Daniel <zachary.s.daniel@gmail.com>
2023-12-10 13:01:58 -05:00
Zach Daniel
c7e6133317 improvement: support embed_nil_values? for trimming down stored embeds 2023-12-06 10:29:39 -05:00
Darren Black
a6f96960ee
docs: Manual actions doco (#788)
* Manual action documentation tweaks

* More
2023-12-01 09:40:52 -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
Bryan Bryce
37058a5b78
doc: Fix module reference in Relationship Guide (#774) 2023-11-14 17:19:19 -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
291dea3de9 docs: update docs for pub sub 2023-10-27 13:22:33 -04:00
Barnabas Jovanovics
b843de6d78
docs: explicitly mention read action (#754) 2023-10-25 11:20:08 -04:00
user20230119
a4f9115e63
docs: fix typos for attribute, writable and update_default (#753) 2023-10-25 10:08:14 -04:00
Frédérick Capovilla
bb666ee94e
docs: link to the ash_postgres references documentation in the Relationships guide (#748)
---------

Co-authored-by: Zach Daniel <zachary.s.daniel@gmail.com>
2023-10-21 22:39:15 -04:00
Marcus Wood
95966db148
docs: Fix typo in expressions topic (#732) 2023-10-11 08:24:31 -04:00
Veljko Simakovic
37b0c4d9d0
docs: Improve pagination guide (#719)
Added a section at the bottom which details where the options are and clears up the need to setup actions and how to query for pagination.
2023-10-02 18:56:48 -04:00
Zach Daniel
e1ac4150a9 docs: add additional docs for validations 2023-09-29 10:11:14 -04:00
Zach Daniel
2d9f9ee362 improvement: deprecate old school manual actions
note: these have been deprecated for a very long time, removing them will not
be considered a breaking change (and there will be clear compile errors)
2023-09-25 09:40:29 -04:00
Zach Daniel
9d0359a2ed docs: add primers to docs 2023-09-20 18:01:33 -04:00
Zach Daniel
6e2d1fd0ac docs: greatly improved DSL documentation in hex 2023-09-13 22:17:18 -04:00
Zach Daniel
1f319faf97 improvement: support trace_type?/2 in tracers 2023-09-12 11:54:04 -04:00
Zach Daniel
47fbf4b35a improvement: support multiple tracers, instead of just one 2023-09-12 10:54:42 -04:00
Zach Daniel
c5ea541b2d chore: rework atomics to atomic_update change and function
improvement: add `Ash.context_to_opts/1-2`
2023-08-29 14:39:38 -04:00
Zach Daniel
6381171eb6 improvement: add topic docs for atomics 2023-08-28 16:19:07 -04:00
Zach Daniel
456588bd07 docs: add in-line aggregates to expression calculation docs 2023-08-22 14:49:16 -04:00
Tchowa Franck A
f07c5c41ea
Update documentation to include user_id in query. (#670) 2023-08-12 10:57:12 -07:00
Zach Daniel
1871e19fa9 improvement: added round/1 and round/2 to expressions 2023-07-27 11:49:02 -04:00
Zach Daniel
bda7c56543 improvement: support parent/1 in relationships 2023-07-26 16:46:22 -04:00
Anuvrat Parashar
ff366a728b
docs: refer to variable instead of constant in the function body (#663)
Co-authored-by: Anuvrat Parashar <anuvrat@essentia.dev>
2023-07-20 02:36:12 -04:00
Zach Daniel
8c9b636886 docs: fix docs typo 2023-07-13 00:11:28 -04:00
Zach Daniel
7114b5efbb improvement: exists type aggregate 2023-07-13 00:08:51 -04:00
Zach Daniel
8379e8c94f docs: document at/2 expression 2023-07-12 16:54:20 -04:00
Zach Daniel
d27e871b8f improvement: add string_split expression 2023-07-12 15:11:21 -04:00
Zach Daniel
b86c66b505 fix: don't allow is_nil as an expression operator 2023-06-28 16:41:34 -04:00
Zach Daniel
2c129a7ab7 fix: select after setting notification data
resolves a bug where attributes were not selected for create notifications

docs: add validations guide

closes #631
2023-06-28 11:03:51 -04:00
Zach Daniel
0b6d93c7c4 feat: add field_policies
see included documentation for more information on how field policies
work.
2023-06-22 14:00:11 -04:00
Zach Daniel
43585d5617 docs: explain nil handling in expressions better 2023-06-05 17:11:32 -04:00
Zach Daniel
c62e76a3d2 docs: fix broken link in security guide 2023-05-29 10:06:34 -04:00