Zach Daniel
0368c1a8da
fix: error fetching relationships in filter expressions
...
docs: more docs on upgrade/policies guide
2022-09-07 12:53:29 -04:00
Zach Daniel
12c46a8da9
fix: filter check typespecs
...
docs: add docs on `expr/1` policies and using `exists/2`
2022-09-06 22:38:56 -04:00
Zach Daniel
c9d65384e5
docs: update docs & changelog
2022-09-06 22:28:50 -04:00
Zach Daniel
619adcee93
improvement: add exists/2
expression
2022-09-06 18:02:01 -04:00
Zach Daniel
9ac4eafb87
fix: the semantics of forbid_unless
were not wrong
...
docs: remove some formatting
2022-09-04 00:53:52 -06:00
Zach Daniel
31d1d925ef
fix: forbid_unless
expression compilation
...
docs: add some more expression template docs
fix: fix runtime filter join simulation for multiple rows
2022-09-03 21:34:55 -06:00
Zach Daniel
c380cc1a14
docs: sanitize things for docs
2022-08-30 16:45:55 -06:00
Zach Daniel
2415c5c052
docs: add philosophy guide
2022-08-30 16:25:42 -06:00
Zach Daniel
1ff91f303d
improvement: update ash docs
2022-08-30 12:27:03 -06:00
Zach Daniel
696f7ca82a
fix: small fix to get_path
...
improvement: support `read_action` in embeddable types, and optimize loading
docs: more documentation
2022-08-30 11:18:10 -06:00
Zach Daniel
834d99c57e
fix: runtime filter checking is unknown for non-selected values
...
docs: tons of work on docs/guides
2022-08-30 02:22:15 -06:00
Zach Daniel
89c7f15b85
fix: always select always_select?
fields
...
improvement: add `private?/0` callback to functions
docs: reword some docs
2022-08-29 08:54:11 -06:00
Zach Daniel
7930e3efa1
fix: don't fail to build Phoenix.Socket.Broadcast
2022-08-29 08:05:12 -06:00
Zach Daniel
d0c28ec215
docs: add example create action
2022-08-28 22:50:06 -06:00
Zach Daniel
6c40747320
improvement: options for prepending/appending hooks
...
docs: guides improvements
2022-08-28 19:27:44 -06:00
Zach Daniel
4ef843622d
docs: work on guides
2022-08-28 19:27:44 -06:00
Zach Daniel
1bb3468851
improvement: add tracing and telemetry
2022-08-28 19:27:44 -06:00
Zach Daniel
695c2bb09a
docs: use proper filter in docs
2022-08-28 19:27:44 -06:00
Zach Daniel
2e6ec5b8b4
docs: total docs reorg
2022-08-28 19:27:44 -06:00
Zach Daniel
e37f62284b
chore: update doc links
2022-08-28 19:27:44 -06:00
Zach Daniel
400b148dfb
docs: more work on guides
2022-08-28 19:27:44 -06:00
Zach Daniel
6825968ddf
docs: add aggregates doc
2022-08-28 19:27:44 -06:00
Zach Daniel
349e207428
docs: work on guides
2022-08-28 19:27:44 -06:00
Zach Daniel
c7640abfef
improvement: better scope simple data layer context
...
docs: better language around simple data layer in getting started guide
2022-08-28 19:27:44 -06:00
Zach Daniel
0d518b0057
docs: small docs changes
2022-08-28 19:27:44 -06:00
Zach Daniel
0b3424d79c
improvement: more guides
2022-08-28 19:27:44 -06:00
Zach Daniel
d7a9ff7996
improvement: move docs out of priv, update spark
2022-08-28 19:27:44 -06:00
Zach Daniel
46a6bb407d
chore: docs in priv/
2022-07-10 16:06:22 -04:00
Zach Daniel
0b158ca487
docs: work on DSL documentation
2022-07-10 15:05:09 -04:00
Zach Daniel
8fed3ef702
chore: add dev utilities guide
2022-07-05 14:19:06 -04:00
Zach Daniel
0d9f075c0d
fix: ensure type is always set on attributes
...
docs: add more policy docs
2022-06-28 15:16:29 -04:00
Zach Daniel
00b0758737
doc: fix docs
2022-06-07 15:02:27 -04:00
Zach Daniel
ff890e4654
docs: more work on doc replacements/info
2022-06-07 14:57:30 -04:00
Zach Daniel
7ba4668992
chore: create overview file
2022-06-05 14:59:34 -04:00
Zach Daniel
74a1a6c97c
docs: work on docs + link structure
2022-06-05 13:05:10 -04:00
Zach Daniel
ae65d09373
docs: work on docs structure
2022-06-05 12:13:29 -04:00
Zach Daniel
cc82a1a0cb
chore: WIP on documentation push
2022-05-30 15:57:56 -04:00
Zach Daniel
b3e0632792
improvement: move ash_policy_authorizer into core as Ash.Policy.Authorizer
2022-05-17 15:56:40 -04:00
Zach Daniel
c889cb3cd4
docs: we don't raise errors on ignored timeouts
2022-04-17 23:56:35 -04:00
Zach Daniel
4e19223173
improvement: tons of engine/timeout improvements
2022-04-17 23:56:01 -04:00
Zach Daniel
e23f2a705d
fix: pass tenant option to requests properly
...
docs: work on docs
2022-04-06 23:13:21 -04:00
Zach Daniel
228a679e42
docs: work on getting-started
2022-04-06 14:50:17 -04:00
Zach Daniel
b0a84a7621
docs: getting-started
2022-04-06 14:45:56 -04:00
Zach Daniel
675a83a1ed
docs: getting-started updates
2022-04-06 14:45:22 -04:00
Zach Daniel
32951d5b71
docs: work on getting started guide
2022-04-06 14:44:33 -04:00
Zach Daniel
be9e564d57
chore: fix identity docs/tests
2022-04-06 12:22:34 -04:00
Zach Daniel
4fc53baf5f
improvement: add eager validate identities
...
improvement: percolate `nil` values in operators in ash expresion language (like SQL)
chore: more docs work
2022-04-06 12:00:32 -04:00
Zach Daniel
7c13322aa4
improvement: add return_destroyed?
option
2022-04-05 12:42:50 -04:00
Zach Daniel
84ed398980
chore: docs/ci work
2022-04-05 03:59:34 -04:00
Zach Daniel
6c523b9752
continue working on docs
2022-04-04 14:55:05 -04:00
Zach Daniel
022708c6b5
improvement: add api
option to relationships
...
improvement: make default actions and primary actions far more explicit
this begins the official 2.0.0 work
2022-04-04 01:48:37 -04:00
Zach Daniel
232404196b
chore: add second guide shell
2022-03-28 22:57:23 -04:00
Zach Daniel
8a5f7b3f84
chore: remove guides
2022-03-27 12:14:28 -04:00
Zach Daniel
d358f4dc49
chore: get started on guides
2022-03-27 00:49:41 -04:00
kernel-io
f6214042b8
documentation: fix compile_times.md ( #284 )
2021-12-11 12:32:17 -05:00
Zach Daniel
88168de320
improvement: add Ash.DataLayer.Simple.set_data/2
...
docs: add data-layer-less resource guide
2021-12-07 21:39:07 -05:00
Zach Daniel
f124e9bf7c
fix: cast nil input on strings
...
docs: add line on multitenancy
2021-11-11 14:27:57 -05:00
Zach Daniel
82562929c0
docs: fix docs on registry
2021-11-10 01:24:52 -05:00
Zach Daniel
9df690bfa4
docs: add docs around improving compile times
2021-11-03 17:29:24 -04:00
Zach Daniel
922c87ea85
improvement: add resource registry validation
...
fix: move related field validations to resource
fix: remove join_attributes, which didn't do anything anyway
2021-10-11 15:14:33 -04:00
Zach Daniel
ff756b72a7
improvement: deprecation!
...
A deprecation warning will be shown at compile time to illustrate
a change from listing all of your resources in an api to listing
them in a registry and connecting that registry to the api
2021-10-07 02:41:02 -04:00
Zach Daniel
b2ae6dc3ea
fix: flush engine state always
2021-07-23 09:45:47 -04:00
Zach Daniel
579c83e20c
fix: disallow aggregate/calculation sorting w/ keyset pagination
...
This can be fixed by configuring pagination to fetch the resource by keyset
(so keyset is only ever primary key), but will perform worse because
we have to fetch the record. If someone would like to implement this,
let me know.
2021-07-22 12:47:43 -04:00
Zach Daniel
8a2f431d52
docs: add guide to index
2021-07-01 22:55:07 -04:00
Zach Daniel
3aa6b6f49f
docs: document expressions
2021-07-01 22:07:31 -04:00
Zach Daniel
231eeafd30
feat: expression calculations for sorting/filtering
...
improvement: small improvements/fixes across the board
2021-06-04 01:37:11 -04:00
Zach Daniel
968e234a31
improvement: set __source__
context for embeds
2021-05-11 00:28:26 -04:00
Christian Tovar
a4badeff52
docs: Update create_timestamp description ( #234 )
2021-04-30 12:11:38 -04:00
Vitor Oliveira
ba994acf8e
docs: Add postgres adapter instruction to getting started doc ( #231 )
2021-04-25 20:28:16 -04:00
Vitor Oliveira
cc45207aa0
docs: Minor doc changes ( #224 )
2021-04-10 17:36:40 -04:00
Zach Daniel
8316fa466a
chore: update docs
2021-04-05 13:46:37 -04:00
Zach Daniel
f454f98f3f
docs: add docs on managing relationships
2021-04-05 13:45:39 -04:00
Alan K
41442ddf19
Docs: Fix Api.get example ( #219 )
...
The `Api.get` example in the docs uses the email instead of the ID to
get the newly created resource. Trying this locally while running
through the getting started tutorial returns a `nil` resource using the
email, but the correct resource when using the ID.
This fix updates the docs to use the ID in the get call.
2021-04-03 12:28:02 -04:00
Jason Axelson
fc705ad0a5
Documentation improvements and labeled examples ( #216 )
...
Improve documentation for calculations
Add ability to "label" examples by passing a tuple instead of just a string.
Fix some minor typos
2021-03-31 16:24:06 -04:00
Jason Axelson
be56174a3d
docs: Fix some documentation warnings ( #196 )
...
i.e. warnings that appear when you run `mix docs`
Although this PR doesn't fix the majority of them, since the majority
are errors from referring to `@moduledoc false` modules in docs and typespecs.
2021-03-14 17:27:12 -04:00
Jason Axelson
3ba6b593b1
docs: Updates to the docs with a focus on the getting started docs ( #195 )
2021-03-14 17:14:53 -04:00
Zach Daniel
72b5a57a25
feat: functional interface on the Api module
...
feat: resource aliases
improvement: require completely unique action names
2021-03-08 00:59:32 -05:00
mhussa
a22f0c0122
docs: Update getting_started.md ( #186 )
...
fix next section link
2021-02-09 23:02:55 -05:00
Zach Daniel
f6f5d194bf
feat: freeform expressions
...
feat: validatiosn in actions
feat: query arguments
feat: add `Ash.Query.for_read/3`
feat: return changeset with API errors
feat: add case insensitive string `CiString`/`:ci_string`
feat: support `context/1` and `arg/1` in filter templates
feat: support targeting notifications with the `for` option
feat: add `ago/2` query function
feat: add basic arithmetic operators (+, *, -, /)
feat: `sensitive?` option for attributes
feat: `sensitive?` option for arguments
feat: `private` arguments, which can’t be set using `for_<action>`
feat: add `prevent_change` which will erase changes just before the changeset is committed
feat: add `match?` validation that supports a custom error message
feat: add `interval` type to support `ago/2` function
feat: add `url_encoded_binary` type
feat: add `function` type
improvement: `changing?` is now a validation
improvement: add `Transformer.get_persisted/3`
improvement: add `api` field to `Notification`
improvement: standardize errors, add `to_error_class`
improvement: use `Comp` everywhere
Improvement: use action on changeset if set by `for_<action_type>`
improvement: `action_failed?` field on change sets
improvement: remove ability for data layers to add operators (for now at least)
Improvement: Changeset.apply_attributes/2 now returns an error tuple
Improvement: add a bunch of new/informative errors
improvement: runtime filter now uses left join logic (a naive implementation of it)
improvement: support more filter templates in resources
Improvement: basic/naive type system for operators/functions
Fix: properly expand module aliases for options w/o compile time dependency
chore(engine): track changeset changes for the request with `manage_changeset?: true`
2021-01-21 15:22:50 -05:00
zimt28
6ddae6850f
improvement: Add trim/allow_empty to string type ( #171 )
2021-01-15 20:41:21 -05:00
Zach Daniel
6a26a583de
feat: Add Embedded Resources ( #170 )
2021-01-12 15:05:56 -05:00
Alex Freska
1b4194a8a4
Updates to getting starting docs ( #154 )
2020-12-31 18:32:17 -05:00
Zach Daniel
abff2e4b39
docs: update generated documentation to be single file
2020-12-26 23:54:36 -05:00
Zach Daniel
29e7bf5839
docs: small docs tweaks
2020-11-27 22:10:21 -05:00
mario
a5c3b02005
docs: ash phoenix getting started ( #148 )
...
Co-authored-by: Zach Daniel <zachary.s.daniel@gmail.com>
2020-11-27 22:06:13 -05:00
mario
8673a733c7
docs: switched id to uuid_primary_key for overall consitency with the sample ( #145 )
2020-11-21 15:34:56 -05:00
Zach Daniel
4b6a157f88
docs: update identities documentation
2020-11-18 02:10:17 -05:00
Zach Daniel
dc7341b5af
chore: fix table again
2020-11-15 20:18:41 -05:00
Zach Daniel
381228e436
chore: update docs table
2020-11-15 20:15:09 -05:00
mario
abb2f8e05d
getting started documentation improvements ( #144 )
...
Co-authored-by: Zach Daniel <zachary.s.daniel@gmail.com>
2020-11-15 20:08:04 -05:00
Zach Daniel
46efda4db4
improvement: support specifying that some options are modules
2020-10-29 00:14:01 -04:00
Zach Daniel
2333d01ddf
feat: multitenancy! and tons of various fixes ( #139 )
2020-10-28 01:14:17 -04:00
Zach Daniel
59063ff928
chore: docs + def -> defp
2020-10-17 13:35:09 -04:00
Zach Daniel
ca8b0d1ac3
docs: add dsl extension docs link
2020-10-15 00:56:26 -04:00
Zach Daniel
eb25d5b826
feat: add notifiers ( #133 )
2020-10-15 00:54:02 -04:00
Zach Daniel
c7fd192716
docs: add link to pagination article
2020-10-12 02:48:20 -04:00
Zach Daniel
f8fadc67e6
feat: Add pagination ( #131 )
2020-10-11 23:55:47 -04:00
Zach Daniel
114e64f8b4
feat: filter rewrite to op/function/ref based structure
2020-10-06 00:58:06 -04:00
Zach Daniel
657dd4bfc2
docs: write up some engine docs
2020-09-25 00:36:50 -04:00
Zach Daniel
c29c8ab7f6
docs: clarify example in readme
2020-09-22 18:27:40 -04:00
Zach Daniel
d10ae9bad1
docs: update query/authorization docs
2020-09-22 10:51:15 -04:00
Zach Daniel
5552ce1f83
fix: remove delegate data layer ( #112 )
...
The delegation data layer was the wrong tactic. We should model
shared behavior as composition, not inheritance (which is essentially
what the delegation data layer turned into)
2020-09-06 01:16:21 -04:00
Zach Daniel
9a3962d47a
feat: add changes to actions ( #106 )
2020-08-30 03:15:16 -04:00
Zach Daniel
9f9935dead
feat: add Ash.NotLoaded
back, simpler defaults
2020-08-27 18:36:28 -04:00
Zach Daniel
9d4fc1e2a0
docs: finish docs on calculations
2020-08-25 01:10:17 -04:00
Zach Daniel
2ef877ee53
feat: initial calculation support ( #98 )
...
* feat: initial calculation support
2020-08-25 00:49:07 -04:00
Zach Daniel
a56fdbb3ff
feat: Add delegate datalayer ( #97 )
2020-08-22 18:44:05 -04:00
Zach Daniel
a76e018a6f
docs: Recommend new placement for resources
2020-08-19 00:49:21 -04:00
Zach Daniel
b7970841b0
fix: remove bad package reference from the docs
2020-08-15 16:29:56 -04:00
Zach Daniel
b7073e3098
chore: update docs on aggregates
2020-08-10 03:51:28 -04:00
Zach Daniel
be74d1e7eb
feat: add named aggregates
2020-08-08 16:17:52 -04:00
Zach Daniel
8b879ce096
chore: release version v0.11.0
2020-07-20 22:05:54 -04:00
Zach Daniel
e303afc0d6
docs: write error handling guide
2020-07-15 21:17:57 -04:00
Zach Daniel
28982f03fd
feat: various small refactors + validations
2020-07-15 01:38:42 -04:00
Zach Daniel
82878e346c
chore: update docs
2020-07-09 09:25:48 -04:00
Zach Daniel
f3fb2554ca
chore: add resource paths to documentation
2020-07-07 23:33:26 -04:00
Zach Daniel
482433a28c
docs: update latest docs
2020-07-07 20:30:49 -04:00
Zach Daniel
ea42601a4e
chore: add getting started guide
2020-07-07 19:28:31 -04:00
Zach Daniel
c776da9237
chore: release version v0.4.0
2020-06-14 02:42:44 -04:00
Zach Daniel
6dc699d8a6
feat: rebuild DSL inner workings for extensibility ( #70 )
2020-06-14 02:39:11 -04:00
Zach Daniel
941359bb8f
WIP
2019-12-07 17:47:32 -05:00