Zach Daniel
1ab5a35d7f
improvement: support an api
option to use Ash.Resource
( #715 )
...
* improvement: support an `api` option to `use Ash.Resource`
improvement: add functions to `Ash` for resources w/ configured apis
improvement: default code_interface.define_for to resource's ash api
2023-10-20 06:07:34 -04:00
Zach Daniel
0a35989802
fix: typo in new tracer setting logic
2023-09-13 13:58:40 -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
92edb11499
improvement: add build_action_metadata to resource builder
...
improvement: add `Ash.merge_context/1` and `Ash.update_context/1`
2023-04-10 19:03:16 -04:00
Zach Daniel
820d445631
fix: fix typespec for Ash.set_tenant/1
2023-01-31 12:12:04 -05:00
Zach Daniel
1bb3468851
improvement: add tracing and telemetry
2022-08-28 19:27:44 -06:00
Zach Daniel
b9675295e6
improvement: support authorize?
as a changeset option
2022-08-09 20:25:43 -04:00
Zach Daniel
fe27a7f61b
improvement: add transfer_context/1
and get_context_for_transfer/0
2022-07-19 09:59:57 -04:00
Zach Daniel
c9f20f1488
improvement: add process-based actor, tenant and query/changeset context
...
improvement: add `always_authorize?` and `require_actor?` to api config
2022-07-19 00:49:05 -04:00
Zach Daniel
5992fc00f7
docs: remove Ash from docs
2021-03-13 16:07:40 -05:00
Zach Daniel
80a65db150
improvement: various validation lifecycle options
...
fix: various validation lifecycle fixes
fix: don't fetch sideloads for empty data
2021-03-04 22:48:15 -05:00
Zach Daniel
d42c778a0d
improvement: many compile time fixes via code splitting
...
feat: refactored manage_relationship options/behavior
2021-02-22 20:44:03 -05:00
Zach Daniel
61e6b7c80c
fix: various ci_string improvements
...
feat: add `contains/2` query function
2021-01-23 22:28:56 -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
Zach Daniel
13ca0b2976
chore: generalize DSL tooling
2021-01-14 01:17:26 -05:00
Zach Daniel
86236a5962
fix: lazy loaded module issues (e.g in iex)
2021-01-06 14:39:56 -05:00
Zach Daniel
d600c55509
feat: support :first
aggregate ( #153 )
...
feat: support more sort orders
2020-12-28 19:18:01 -05:00
Zach Daniel
eb25d5b826
feat: add notifiers ( #133 )
2020-10-15 00:54:02 -04:00
Zach Daniel
f8fadc67e6
feat: Add pagination ( #131 )
2020-10-11 23:55:47 -04:00
Zach Daniel
cd0998bb92
chore: fix CI + update docs
2020-10-09 10:13:44 -04:00
Zach Daniel
6df3f4eb17
docs: fix ash_graphql link
2020-09-22 11:02:21 -04:00
Zach Daniel
d10ae9bad1
docs: update query/authorization docs
2020-09-22 10:51:15 -04:00
Zach Daniel
e75ae597d2
docs: add links to extensions
2020-09-21 18:33:44 -04:00
Zach Daniel
448b8f06a0
docs: add example application
2020-09-19 21:54:24 -04:00
Zach Daniel
28d2d9b363
fix: Fix identities ( #110 )
2020-09-04 00:59:32 -04:00
Zach Daniel
2ef877ee53
feat: initial calculation support ( #98 )
...
* feat: initial calculation support
2020-08-25 00:49:07 -04:00
Zach Daniel
b617f45fc8
fix: various fixes for graphql extension
2020-08-13 17:49:33 -04:00
Zach Daniel
be74d1e7eb
feat: add named aggregates
2020-08-08 16:17:52 -04:00
Zach Daniel
a45efc79dd
fix: scope data layer feature to aggregate kind
2020-07-24 19:26:51 -04:00
Zach Daniel
bd4ce75a23
chore: add notice to docs
2020-07-24 17:55:19 -04:00
Zach Daniel
28c236452d
feat: aggregations!
2020-07-23 01:09:59 -04:00
Zach Daniel
9d51ec6300
feat: allow editing join association attributes
2020-07-16 19:17:01 -04:00
Zach Daniel
28982f03fd
feat: various small refactors + validations
2020-07-15 01:38:42 -04:00
Zach Daniel
2cf41b966e
feat: refactor changes into changesets
2020-07-12 02:25:53 -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
3b1e263fe3
feat: general improvements
2020-07-07 10:19:03 -04:00
Zach Daniel
05f2d9ad64
WIP
2020-06-29 17:20:29 -04:00
Zach Daniel
ec69ac7117
fix: use authorization filters in side loads
2020-06-22 02:11:59 -04:00
Zach Daniel
e6e9f88710
fix: many filter/side load fixes/improvements
2020-06-21 23:26:47 -04:00
Zach Daniel
1033677259
feat: boolean filter refactor ( #78 )
...
feat: predicate behaviour
2020-06-18 22:59:30 -04:00
Zach Daniel
b6101a4dff
feat: extension section module imports, generated .formatter.exs ( #71 )
2020-06-15 02:40:33 -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
651872a67f
fix: add resource_module?/1
back to Ash
2020-06-04 22:43:51 -04:00
Zach Daniel
ecbdaa1abb
feat: remove name/type from ash core
2020-06-04 22:43:30 -04:00
Zach Daniel
71c49cb215
feat: use option schemas in the interface ( #30 )
2020-06-04 21:54:55 -04:00
Zach Daniel
797792f947
docs: update documentation
2020-06-04 02:16:59 -04:00
Zach Daniel
7c987b32bb
chore: wrap up remaining lint errors
2020-06-02 01:47:25 -04:00
Zach Daniel
9a0be3a072
chore: fix dialyzer build errors
2020-06-01 23:23:50 -04:00
Zach Daniel
377319e881
feat: add data layer custom filters
2020-05-31 01:52:00 -04:00
Zach Daniel
9d76bb1d9b
WIP
2020-05-27 00:29:54 -04:00
Zach Daniel
1ed9d3c5fa
WIP
2020-05-27 00:29:54 -04:00
Zach Daniel
1cc096e621
improvement: huge query/filter overhaul
2020-05-13 11:54:44 -04:00
Zach Daniel
596a8e3d75
improvement: remove pagination, add query struct (unused)
2020-05-09 22:23:23 -04:00
Zach Daniel
9beea38b7a
WIP
2020-05-02 05:01:57 -04:00
Zach Daniel
2dea5d6d33
WIP on new error system. Only a few tests left to fix
2020-05-01 02:21:46 -04:00
Zach Daniel
c6521a668c
WIP
2020-01-13 13:39:55 -05:00
Zach Daniel
a831af570d
WIP
2020-01-13 13:16:24 -05:00
Zach Daniel
80545c416c
WIP
2019-12-24 02:53:56 -05:00
Zach Daniel
2c3c368a7e
WIP (removes sat solver)
2019-12-22 23:28:40 -05:00
Zach Daniel
201e068235
whirlwind
2019-12-12 01:19:22 -05:00
Zach Daniel
b776d06c2d
WIP
2019-12-09 01:44:07 -05:00
Zach Daniel
4e527865e7
WIP
2019-12-07 02:42:14 -05:00
Zach Daniel
248a5d667d
WIP
2019-12-05 13:45:02 -05:00
Zach Daniel
030c389225
WIP on cleanup/documentation
2019-12-05 02:18:13 -05:00
Zach Daniel
df70095e39
WIP
2019-12-04 18:04:07 -05:00
Zach Daniel
b2feeac52d
WIP
2019-12-03 01:47:49 -05:00
Zach Daniel
9f525d15ae
WIP
2019-12-02 11:25:00 -05:00
Zach Daniel
dd081977a0
WIP
2019-12-01 16:58:29 -05:00
Zach Daniel
242db09396
WIP
2019-11-29 11:36:01 -05:00
Zach Daniel
ad313c5ff3
WIP
2019-11-29 01:54:11 -05:00
Zach Daniel
4cabb8a838
add an ets data layer, and start on some testing
2019-11-28 00:24:29 -05:00
Zach Daniel
0c7b97a305
WIP
2019-11-27 16:36:25 -05:00
Zach Daniel
9de67150d9
WIP
2019-11-26 17:33:23 -05:00
Zach Daniel
45f61b669f
add authorized versions of read/get
2019-11-26 12:38:47 -05:00
Zach Daniel
ef2f828250
WIP
2019-11-26 01:50:53 -05:00
Zach Daniel
afdd294e7f
start on authorization
2019-11-25 18:23:59 -05:00
Zach Daniel
e57f3961ad
WIP
2019-11-24 19:01:21 -05:00
Zach Daniel
3c1ef49950
whew
2019-11-02 16:36:46 -04:00
Zach Daniel
c6710f9381
work on separation lines and relationships
2019-10-30 11:10:01 -04:00
Zach Daniel
5d7382f966
move data functions out to Ash.Data
2019-10-11 11:18:59 -07:00
Zach Daniel
397d79fa7e
move datalayer stuff out of ash
2019-10-06 16:36:06 -04:00
Zach Daniel
39d6106a9c
draw the rest of the fucking owl
2019-10-03 22:33:55 -04:00
Zach Daniel
b693519ef7
add basic serialization
2019-10-03 03:40:37 -04:00
Zach Daniel
c190f4049b
updated the example, added the skeleton of "get"
2019-10-03 03:18:07 -04:00
Zach Daniel
9a4c5217f1
WIP
2019-10-03 00:36:32 -04:00
Zach Daniel
4c41344126
init
2019-10-02 23:08:36 -04:00