Commit graph

294 commits

Author SHA1 Message Date
Zach Daniel
0301009073 docs: add code interface to generic actions guide 2024-07-23 17:42:32 -04:00
Jonatan Männchen
9e155e55c2
docs: document how to call a Generic Action (#1334) 2024-07-23 17:40:53 -04:00
Jesse Williams
1ad425bd84
docs: update relationships docs so source_attribute is not required to be unique (#1320) 2024-07-18 16:38:43 -04:00
Tore Pettersen
37755a870b
feat: Allow field policies to hide private fields (#1289)
* Allow field policies to hide private fields

* Create option for how to handle private fields

* Improve docs
2024-07-15 08:16:52 -04:00
Zach Daniel
ec367e8941 chore: update docs to show installers 2024-07-09 21:11:41 -04:00
Zach Daniel
0129285340 improvement: update getting started guide and document generators 2024-07-08 17:15:52 -04:00
Barnabas Jovanovics
51e003e4f2
docs: fix call to for_read in auth docs (#1291) 2024-07-08 09:51:56 -04:00
Mikael Muszynski
f7f0db1ef5
docs: extend documentation for validate where option (#1279)
For the `where` option of the `validate` function in the `Ash.Resource`
DSL, the current documentation puts little emphasis on the fact that one
can pass a list of validations to construct complex conditionals.

1. Change the text to put more emphasis on the functionality of multiple
   `where`-validations.
2. Add more usage examples.
2024-07-03 20:58:57 -04:00
Matheus Cardoso
86c382d642
docs: Fix typos in Relationships & Multitenancy docs (#1259) 2024-06-25 09:22:33 -04:00
Zach Daniel
d72b59253a docs: update docs on batch callbacks 2024-06-24 08:25:30 -04:00
Matheus Cardoso
d858044037
docs: Fix typo in Changes docs (#1260) 2024-06-24 08:22:09 -04:00
Matheus Cardoso
e8a38207b7
docs: Fix typo in Multitenancy docs (#1256)
* Fix typo in Multitenancy docs

* Remove unnecessary new line in Multitenancy docs
2024-06-23 07:56:33 -04:00
Matheus Cardoso
30d413eb74
docs: Fix typo in Actors and Authorization docs (#1255) 2024-06-23 07:55:56 -04:00
m0rt3nlund
3888acb454
docs: fix typo in update-actions.md (#1248) 2024-06-20 15:07:42 -04:00
Andreas Donig
58cc007ff5
docs: Fix a small mistake in the docs. (#1222)
Co-authored-by: Andreas Donig <git@innwiese.de>
2024-06-04 14:41:09 -04:00
Riccardo Binetti
421905c163
docs: add pagination guide in advanced topics (#1113) 2024-05-29 07:35:34 -04:00
Zach Daniel
d1736a109b docs: fix miscommunication in upgrade guide 2024-05-28 14:23:28 -04:00
Zach Daniel
feb187bdf6 improvement: add atomic_upgrade? flag to update/destroy actions
improvement: do not do atomic upgrade by default unless `require_atomic?` is `true`
improvement: allow configuring the read action used by atomic upgrades
2024-05-23 11:05:17 -04:00
Guillaume Cugnet
ac9afafcd9
docs: Update project-structure.md (#1196)
Seems there were a just a little typo and a lacking `end` word.
2024-05-22 13:08:22 -04:00
Jinkyou Son
aae679f50e
improvement: Implement show_sensitive? config (#1180)
* Refactor with Ash.Helpers.redact/1

* Implement show_sensitive? config

* Use Application.compile_env/3 instead of Application.get_env/3

* Update sensitive-data.md
2024-05-21 08:47:51 -04:00
Zach Daniel
2dcbafac4e chore: add alternative in doc 2024-05-18 10:30:59 -05:00
Sucipto
441bc74d40
docs: fix typo on destroy actions (#1174) 2024-05-16 09:54:06 -05:00
Zach Daniel
751153990b docs: add alternatives guide 2024-05-16 09:38:31 -05:00
Alan Heywood
4214522302
^ref argument order fixes (#1171) 2024-05-15 19:56:06 -04:00
m0rt3nlund
d3ff7b1656
Update sensitive-data.md, tyring to clearify that public? applies to … (#1168)
* fix typo

* Update sensitive-data.md, tyring to clearify that public? applies to read

---------

Co-authored-by: Barnabas Jovanovics <barnabas.jovanovics@gmail.com>
2024-05-15 09:31:52 -04:00
Zach Daniel
35bbd3f1b0 docs: use strict_loads false in upgrade guide 2024-05-14 21:29:48 -04:00
Barnabas Jovanovics
ca61d56fcf
docs: fix typo (#1164) 2024-05-14 09:50:06 -04:00
Rebecca Le
6afd9f57f2
docs: Clarify resource code in Actions guide (#1156) 2024-05-13 07:30:59 -04:00
Zach Daniel
a3bc76e29a chore: update upgrade guide links 2024-05-11 01:29:06 -04:00
Zach Daniel
32446b0b2e chore: fixes around policy exceptions
docs: add policy how-to guide
2024-05-10 15:26:23 -04:00
Zach Daniel
b000259418 docs: add preparations doc 2024-05-09 20:52:44 -04:00
Zach Daniel
5f1bfe60b2 docs: add info in guide for accept in actions 2024-05-09 20:40:26 -04:00
Zach Daniel
48c6438212 improvement: change default timeout to :infinity, for efficiency 2024-05-07 17:01:11 -04:00
Barnabas Jovanovics
815ceff61d
Do not define info inside extension because of compile dependency (#1120) 2024-05-06 09:26:09 -04:00
Zach Daniel
e03e4379a9 fix: small logic fixes for optimistic locking error case
chore: a bunch of QoL fixes around inspecting expressions
2024-05-04 01:10:04 -04:00
Zach Daniel
f67749ccf1 docs: update tenancy docs 2024-05-03 17:16:49 -04:00
Abhishek Tripathi
bacc147837
docs: ash actions are run in transaction (#1093) 2024-05-03 10:40:58 -04:00
Rebecca Le
c1fd3f36ad
docs: Add some examples to the Identities guide, with a link to the DSL docs (#1097) 2024-05-02 11:25:50 -04:00
Zach Daniel
5ad47c10cf fix: enforce that transaction hooks are not added from other hooks
closes #1096
2024-05-02 09:23:41 -04:00
Rebecca Le
0e30ed0e65
docs: Update code interface syntax in Domains guide (#1095)
The action name is part of the `opts` keyword list
2024-05-02 07:59:19 -04:00
Zach Daniel
d44755a07a chore: update package description 2024-05-01 15:23:42 -04:00
Zach Daniel
1a70bb3133 chore: add records to the glossary 2024-05-01 14:21:32 -04:00
Zach Daniel
3fc41fc715 docs: add another badge, link to hex 2024-05-01 13:13:15 -04:00
Jean-Luc Geering
c8c4bb6b1d
docs: typo in documentation (#1068)
* typo in documentation

* idem
2024-04-29 06:57:26 -04:00
Zach Daniel
3f977ff98d improvement: simplifications and clarifications around bulk callback behavior 2024-04-27 10:14:31 -04:00
Jinkyou Son
06bde218f3
docs: Fix typo of docs (#1065) 2024-04-27 08:09:43 -04:00
Zach Daniel
75b63917c7 improvement: don't add autogenerated_id to embeds by default
one list *very mild* breaking change
2024-04-27 00:53:22 -04:00
Zach Daniel
69295daf78 improvement: allow skipping primary keys on embedded resources 2024-04-27 00:41:12 -04:00
Zach Daniel
f146258159 improvement: remove after_atomic and instead support after_batch
supporting `after_batch` allows things like `archive_related` in `ash_archival`
to dispatch batches of cascading archives
2024-04-24 11:56:36 -04:00
Riccardo Binetti
bae32332b1
docs: add more details on the behavior of accept :* (#1056) 2024-04-24 11:43:04 -04:00