Commit graph

109 commits

Author SHA1 Message Date
Zach Daniel
e8486deaa3 chore: warning on errors when stopping storage in test 2022-09-28 02:48:08 -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
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
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
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
f4cb9213b3 update to latest ash 2022-08-30 19:08:16 -06:00
Zach Daniel
1a9ca4f273 chore: remove IO.inspect 2022-07-21 10:28:35 -04:00
Zach Daniel
6b805777ae test: test loading calculation on related belongs_to on create 2022-07-21 10:28:04 -04:00
Zach Daniel
c5d3531945 chore: fix test using incorrect action types 2022-05-28 21:41:00 -04:00
Zach Daniel
c54bcdfdda chore: fix tests 2022-05-28 21:19:11 -04:00
Frank Dugan III
13c2abe11a
feat: add policy breakdowns option (#35) 2022-05-24 16:42:40 -04:00
Zach Daniel
96f3a63b74 fix: update to latest ash, fix transformer, get tests working 2022-05-17 12:30:19 -04:00
Maxim Martynov
cc5f3a31f2
fix: Handle error if multitenant resource was fetched without tenant being set (#33) 2022-05-11 12:45:49 -04:00
Zach Daniel
d00e0a6e5d improvement: require registry explicitly to help with compile times 2022-05-10 11:49:19 -04:00
Michael St Clair
6fb99a3ab0
improvement: setup generate_object? setting on resource (#32) 2022-05-09 21:53:01 -04:00
Zach Daniel
8ed9938201 improvement: fix lint/credo/versions 2022-04-26 11:35:09 -04:00
Zach Daniel
5d35cf092e fix: ignore embedded resources accidentally placed in API 2022-03-25 13:17:35 -04:00
Zach Daniel
553152abef
test: added some test resources to reproduce an issue with duplicated Graph… (#30)
Co-authored-by: Simon Bergström <simon@menuan.se>
2022-03-24 21:20:01 -04:00
Zach Daniel
862bfdd7b4 improvement: updates to handle the new registry changes 2022-01-31 14:55:14 -05:00
Zach Daniel
300858f418 fix: select in the new after_action hook, for calculations 2021-09-12 02:13:19 -04:00
Michael St Clair
05fc3dc01a
failing test for root errors (#27) 2021-09-12 01:02:08 -04:00
Michael St Clair
ffa7d3efdd
fix: fix changeset.errors on destroy (#26) 2021-09-11 15:18:38 -04:00
Zach Daniel
f9b1b75edc feat: more configurable error behavior
added `root_level_errors?` and `show_raised_errors?`
2021-09-09 11:49:36 -04:00
Zach Daniel
c11ad2a6a4 WIP 2021-09-09 00:27:49 -04:00
Zach Daniel
d4f97febf5 improvement: support create/update metadata 2021-08-29 15:23:28 -04:00
Zach Daniel
d8a3e1b155 improvement: add groundwork for relay support 2021-08-03 18:56:08 -04:00
Zach Daniel
dffe4de9f5 improvement: update to latest rc
improvement: add `short_message` and `vars` to errors
2021-06-28 13:33:01 -04:00
Simon Bergström
70bdcf3216
test: add a test to demonstrate an issue with soft deletes in GraphQL (#24) 2021-05-21 10:43:54 -04:00
Zach Daniel
04de3decad chore: fix lint 2021-05-18 14:19:54 -04:00
Zach Daniel
31bcf8039e fix: traverse all nested embeds for enum type defs 2021-05-18 14:07:01 -04:00
Zach Daniel
2422440da7
test: Added a test case to managed_relationship with a many_to_many resource (#22)
fix: fix compiler warning

Co-authored-by: Simon Bergström <simon.bergstrom@erlang-solutions.com>
2021-05-11 19:35:50 -04:00
WolfDan
c530245295
improvement: Add float type (#20) 2021-05-05 16:15:01 -04:00
Zach Daniel
405264911c fix: properly support limit/offset on relationships 2021-05-04 09:31:39 -04:00
Zach Daniel
019697578b feat: derived input objects for managed_relationships
fix: various input fixes (sorts)
improvement: support new style enums
2021-04-23 18:45:31 -04:00
Zach Daniel
4f71d69c5d improvement: support read_action config for updates and destroys
improvement: support `identity: false` for udpates and destroys
2021-04-19 15:26:20 -04:00
Zach Daniel
e302731d99 fix: project down to multiple levels for result types 2021-04-18 23:19:46 -04:00
Zach Daniel
6be5c593cd fix: proper not found errors 2021-04-16 13:49:51 -04:00
Zach Daniel
43dae2ad28 fix: don't clear fields on nil result
chore: add tests for destroy
2021-04-16 12:56:29 -04:00
Zach Daniel
1f098c5fa1 fix: load fields required for relationship 2021-04-15 16:28:04 -04:00
Zach Daniel
6ae8715a13 improvement: support upsert?: true flag on create 2021-04-05 14:41:16 -04:00
Zach Daniel
9cde7df795 fix: fully remove relationship changes 2021-04-05 13:08:39 -04:00
Michael St Clair
b97e81bc9e
improvement: add allow_nil? to queries (#16) 2021-04-05 10:36:52 -04:00
Michael St Clair
596dc90381
feat: add read_one query (#13) 2021-04-04 03:10:50 -04:00
Zach Daniel
c59658b1ff chore: test enums, add a guide 2021-03-28 15:46:23 -04:00
Zach Daniel
004c69c291 feat: support custom types, add custom type test 2021-03-28 12:30:28 -04:00
Zach Daniel
69f34ba55b fix: select fields/aggregates/calculations 2021-03-22 13:03:18 -04:00
Zach Daniel
9151b712f1 improvement: start on error messaging groundwork
fix: properly handle relationship changes on updates
2021-03-15 15:51:17 -04:00
Zach Daniel
fbfdb7faf8 feat: update to latest ash
feat: support query arguments
2021-01-21 23:06:06 -05:00
Zach Daniel
b7b229404c improvement: support latest ash version 2021-01-07 22:07:50 -05:00
Zach Daniel
539bb14065 feat: filters as input objects 2020-12-29 15:11:16 -05:00
Zach Daniel
e433b57eda fix: resolve testing compilation errors 2020-12-02 00:55:25 -05:00
Zach Daniel
210057d1c3 test: actually have a test :) 2020-12-02 00:07:15 -05:00
Zach Daniel
b7eaa44376
fix: get mix check passing 2020-08-14 10:20:47 -04:00
Zach Daniel
369f098cef
init 2020-05-01 12:32:56 -04:00