Commit graph

416 commits

Author SHA1 Message Date
James Harton
57e42cac6b
feat(AshGraphql.Plug): Support standard actor/tenant configuration. (#43) 2022-10-30 17:49:24 -04:00
James Harton
d3419ebdbc
chore(docs): getting started link in readme points to a 404. (#42) 2022-10-26 21:25:11 -05:00
Zach Daniel
7655e082c1 chore: fix CI 2022-10-21 09:03:27 -04:00
Zach Daniel
eefa8750b6 chore: release version v0.20.2 2022-10-21 08:53:50 -04:00
Zach Daniel
fe079a55d9 docs: update getting started guide 2022-10-21 08:53:39 -04:00
Zach Daniel
9ff395711e improvement: handle keyset & offset pagination when combined on an action (by preferring keyset)
improvement: use new `depend_on_resources/` from Ash to remove the need for registry in schema
fix: various pagination fixes
2022-10-21 08:51:31 -04:00
Zach Daniel
c5662e90ba improvement: validate that relay? queries use keyset?: true actions
improvement: only add `count` to pages when one relevant query is countable
2022-10-21 07:38:33 -04:00
Zach Daniel
3be18011ea chore: fix CI from last commit 2022-10-20 17:57:37 -04:00
Zach Daniel
07e0c6170c improvement: split keyset_page_of and page_of types
improvement: add `start_keyset` and `end_keyset` to `keyset_page_of` type
improvement: add `count` to relay fields if there exists a countable relay query
2022-10-20 17:57:27 -04:00
Zach Daniel
b1bdc49ec5 fix: reference schema not generated module when adding types 2022-10-20 15:03:13 -04:00
Zach Daniel
56f38c5099 chore: release version v0.20.1 2022-10-20 13:31:19 -04:00
Zach Daniel
5d0bdd8e15 improvement: update to latest ash 2022-10-20 11:14:35 -04:00
Zach Daniel
75ba47215d improvement: change calculation input type name 2022-10-13 00:53:23 -04:00
Zach Daniel
1b11834afb docs: remove out of date docs 2022-10-12 23:02:51 -04:00
Zach Daniel
9cc9da0f2e improvement: support calculation sort input
closes #31
2022-10-12 21:15:42 -04:00
Zach Daniel
3a11d988ab improvement: support encode_primary_key? false, and set single managed relationship primary keys do :id type when its true
closes #28
2022-10-12 19:02:04 -04:00
Zach Daniel
195ec3cd4f fix: handle empty root query/root mutation blocks
closes: #10
2022-10-12 17:25:33 -04:00
Zach Daniel
8d79fd7d2a fix: non relay keyset pagination was broken when relay was introduced 2022-10-12 12:11:51 -04:00
Zach Daniel
9a3136fd5d improvement: remove stacktraces? option
improvement: add error handler
improvement: translatable error messages
docs: handle errors guide
2022-10-12 00:51:01 -04:00
Zach Daniel
5d5d8f44ab improvement: update to latest ash 2022-10-11 16:12:41 -04:00
Zach Daniel
dab3bf33df chore: update ash in matrix 2022-10-11 16:11:42 -04:00
Zach Daniel
d97287db2c chore: update git_ops 2022-10-11 15:46:41 -04:00
Zach Daniel
056e457522 improvement: support only exposing a subset of public relationships 2022-10-11 15:37:19 -04:00
Zach Daniel
7de4207de4 improvement: add upsert_identity option 2022-10-09 21:05:58 -04:00
Zach Daniel
a873dfd685 fix: support determining a type for resource calculations 2022-10-03 12:00:28 -04:00
Zach Daniel
57f6315a9a chore: raise on missing mutation 2022-09-29 15:38:38 -04:00
Zach Daniel
43c636253a fix: raise error on missing query action 2022-09-29 15:29:21 -04:00
Zach Daniel
1d31f7a20c chore: stop all resources in update_test.exs cleanup 2022-09-28 02:57:23 -04:00
Zach Daniel
e8486deaa3 chore: warning on errors when stopping storage in test 2022-09-28 02:48:08 -04:00
Zach Daniel
9b27adb178 chore: add disable_async? in tests 2022-09-28 02:37:16 -04:00
Zach Daniel
53ee24a89d chore: fix linter 2022-09-28 02:32:55 -04:00
Zach Daniel
93fc0c9ffd chore: stop all ETS resources in tests 2022-09-28 02:28:44 -04:00
Zach Daniel
48a29458d2 chore: update to latest elixir in pipeline 2022-09-28 00:04:50 -04:00
Zach Daniel
f70eb479cb chore: release version v0.20.0-rc.3 2022-09-27 23:52:44 -04:00
Zach Daniel
86e31717c2 improvement: update to latest ash 2022-09-27 23:52:34 -04:00
Zach Daniel
41ff7bf9aa improvement: handle generated nil filters better 2022-09-26 21:07:41 -04:00
Zach Daniel
92631f91b6 improvement: add options for remapping field/argument names
fix: use the dataloader for loading calculations, to allow for aliases
2022-09-26 00:12:10 -04:00
Zach Daniel
9095a5ae45 improvement: add attribute_types and attribute_input_types
improvement: require configuration of datetime types
2022-09-22 13:31:40 -04:00
Zach Daniel
d859026ddb fix: only create sort input if type is set 2022-09-21 16:28:20 -04:00
Zach Daniel
9ea724aa82 chore: release version v0.20.0-rc.2 2022-09-20 23:11:40 -04:00
Zach Daniel
fa1a6d0021 improvement: update to latest ash 2022-09-20 23:11:21 -04:00
Maxim Martynov
e40e7c573c
improvement: Implement GraphQL Relay support (#36) 2022-09-20 23:07:30 -04:00
Zach Daniel
5823d70889 chore: solve for module dependency issues 2022-09-20 18:24:36 -04:00
Zach Daniel
b4dc207ed8 chore: release version v0.20.0-rc.1 2022-09-15 17:16:26 -04:00
Zach Daniel
a557a35efd improvement: update to latest ash 2022-09-15 17:14:44 -04:00
Zach Daniel
b2b9e22f7c fix: don't generate duplicate types 2022-09-14 16:50:35 -04:00
Zach Daniel
378892e387 improvement: support latest ash 2022-09-14 12:46:12 -04:00
Zach Daniel
d70c68eed9 fix: error when selecting only the count for pagination 2022-09-12 12:23:58 -04:00
Zach Daniel
4fe356ce71 chore: docs improvement 2022-09-06 18:24:02 -04:00
Zach Daniel
1dc73b5438 chore: rename guide 2022-08-30 19:41:08 -06:00