Commit graph

131 commits

Author SHA1 Message Date
Zach Daniel
a559a0cd3f improvement: add Ash.Type.NewType 2023-03-13 17:44:27 -04:00
Rebecca Le
d6178a026c
docs: rewrite Policies guide to be clearer (#524)
Co-authored-by: Zach Daniel <zachary.s.daniel@gmail.com>
2023-03-10 12:50:25 -05:00
Nick Bosch
360d72d506
docs: improve relationships topic guide (#521) 2023-03-09 19:06:10 -05:00
Axel Baudot
6a95ae388a
docs: add drop-in configuration code snippet for the Spark formatter plugin. (#522) 2023-03-09 15:31:51 -05:00
Zach Daniel
fcda41eb14 docs: update actions guide 2023-03-03 13:12:17 -05:00
Zach Daniel
44d744daba improvement: add new date expressions
chore: fix dialyzer
2023-03-03 11:08:38 -05:00
Zach Daniel
41ea63aed3 improvement: support record's as calculate arguments 2023-02-24 10:54:25 -05:00
Darren Black
bc1f8382ab
improvement: Implement string_join expr function (#515) 2023-02-21 09:40:58 -05:00
Rebecca Le
313fdb6c18
docs: Add Glossary guide (#502) 2023-02-20 20:20:04 -05:00
Chris Hopkins
78fa58c2b9
docs: Attribute documentation topic (#514) 2023-02-17 10:03:23 -05:00
Zach Daniel
73c3b1a629 docs: update calculation example with better arg 2023-02-12 11:12:19 -05:00
Zach Daniel
2c8b07fd0b docs: add load/3 to calculation docs 2023-02-12 10:52:27 -05:00
Zach Daniel
85a66b1d85 improvement: add before_transaction and after_transaction 2023-02-10 14:12:19 -05:00
Isaak Tsalicoglou
d1cc4db5d4
docs: Update flows.md to fix copy/paste error of action atom (#507) 2023-02-09 09:22:16 -05:00
Zach Daniel
0632c76606 docs: update elixir_sense docs 2023-02-05 22:34:10 -05:00
Rebecca Le
e8563a03eb
docs: Render api_short_name visibly in the Monitoring guide (#500) 2023-01-31 23:20:51 -05:00
Zach Daniel
28b7def5c9 improvement: no async loads except when loading on initial data 2023-01-30 00:06:34 -05:00
Zach Daniel
7ea8c38095 docs: add config to getting started guide, fix dsl links 2023-01-25 10:16:32 -05:00
Zach Daniel
45ad1c6afa docs: document pub_sub debug option
fix: properly prepend the prefix to the topic
2023-01-20 11:31:31 -05:00
Zach Daniel
897308ba3a
improvement: update docs to new links formats for ash_hq (#483) 2023-01-18 00:34:20 -05:00
Zach Daniel
d471a94ccc fix: properly set the context option on changesets
docs: add section on `Ash.CodeInterface.define_interface/2`
improvement: add `action_is/1` builtin validation
2023-01-12 09:18:49 -05:00
Zach Daniel
70bc983b17 improvement: add Api.calculate/3 and define_calculation code interface builder 2023-01-08 23:39:12 -05:00
Zach Daniel
e804566cbf improvement: rename this to parent for clarity 2023-01-05 12:25:55 -05:00
Zach Daniel
c962bc7aa7 feat: add this/1 for use inside exists/2 (and other places eventually)
fix: various fixes to expression syntax
2023-01-04 12:17:40 -05:00
Zach Daniel
c32d3cc49a improvement: warn on potentially incompatible relationship attributes
improvement: add `default_belongs_to_type` configuration
2023-01-03 10:52:19 -05:00
Maxim Martynov
7841075f35
improvement: Add Ash.Error.Invalid.TenantRequired error (#471) 2022-12-29 23:05:41 -05:00
Mariusz Morawski
70b6a52b08
docs: Fix wrong policy explanation module in docs. (#465) 2022-12-20 03:19:01 -05:00
Justin Lane
f882889751
docs: Update Code Interface Doc (#461) 2022-12-15 21:47:32 -05:00
Zach Daniel
96409416cf improvement: more dependable notifications, support custom notifications better 2022-12-09 22:55:51 -05:00
Zach Daniel
85bd66ba4a docs: more updates to policies guide 2022-11-23 03:40:14 -05:00
Zach Daniel
2f3fcbad13 improvement: optimize various solver boolean optimizations
improvement: more comprehensively remove unnecessary clauses
fix: resolve issue with `authorize_unless` and filter checks
improvement: prevent changing attributes and arguments after action validation

We allow for these changes inside of `before_action` calls, but otherwise
require that `force_change_attribute` is used, for example. This prevents
accidentally validating a changeset and then changing an attribute.
2022-11-23 03:39:00 -05:00
Zach Daniel
3e5b0a8096 fix: fix typespec for Api.Info.trace_name/3
docs: add context to monitoring guide
2022-11-22 13:24:16 -05:00
Zach Daniel
d16b7057a3 improvement: better check module validation
docs: add more context to security and policy guides
2022-11-21 00:29:45 -05:00
Zach Daniel
2ef7bc6273 docs: improve policy writing guide
improvement: add default description for filter checks
2022-11-17 01:33:38 -05:00
Rebecca Le
91bb426e7e
fix: Add missing [:ash, :query] telemetry (#451) 2022-11-16 11:41:52 -05:00
Zach Daniel
2cf18e6a3a
docs: proper link to ash postgres multitenancy guide 2022-11-13 11:49:04 -05:00
Josh Price
d1821a8ef7
docs: review guides and docs (#430) 2022-11-03 00:03:43 -07:00
Zach Daniel
6994295a8f fix: properly upsert all explicitly changed fields
fix: traverse maps for `template_references_actor?/1`
docs: various doc fixes
2022-10-31 11:33:51 -04:00
Zach Daniel
8cbd766172 feat: support anonymous functions in DSL
improvement: add more ergonomic manual action definitions.

The old method will likely be deprecated some time in the future (there is no rush really, they both work).
2022-10-30 21:00:57 -04:00
Zach Daniel
e52d7187d8 improvement: more additions to the resource builder, update spark
test: add a test for loading many to many relationships on code interface actions
2022-10-28 10:18:01 -05:00
Zach Daniel
39ea911d33 docs: various guide/documentation updates 2022-10-25 23:17:49 -05:00
Zach Daniel
6e43784535 docs: update docs, add some context, remove dead link 2022-10-25 09:11:54 -06:00
Zach Daniel
57466b3498 docs: remove outdated statement about calculations being limited 2022-10-19 22:17:44 -04:00
Zach Daniel
37074207d8 docs: update actions guide 2022-10-18 17:32:50 -05:00
Zach Daniel
4915e5d583 improvement: add now() to expression syntax 2022-10-18 14:19:28 -05:00
Zach Daniel
6751afc683 improvement: support depending on requests that will be added
docs: improve flow docs

closes: #418
improvement: support dynamic action steps in `Ash.Flow`
2022-10-16 14:07:57 -05:00
Zach Daniel
652342c41d docs: remove the word simply from the docs 2022-10-15 10:16:38 -05:00
George Rodrigues
1f685a1413
docs: fix typos (#402) 2022-10-04 16:01:42 -04:00
Zach Daniel
4b79365d39 docs: add phoenix topic
docs: add to contributing guide
2022-10-03 16:35:02 -04:00
Darren Black
2eda90c0ee
docs: Missing calculation type in doco (#391) 2022-09-29 01:29:25 -04:00