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
7de4207de4
improvement: add upsert_identity
option
2022-10-09 21:05:58 -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
Maxim Martynov
e40e7c573c
improvement: Implement GraphQL Relay support ( #36 )
2022-09-20 23:07:30 -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
a10f61b9b4
improvement: update to latest ash
2022-08-10 17:34:13 -04:00
Zach Daniel
29909742e2
chore: don't explicitly set type when looking up actions
2022-05-28 21:30:34 -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
bdf814cae2
fix: fix get
resolver not_found message
2021-09-13 16:55:03 -04:00
Zach Daniel
2632e477b3
fix: authorize reads before destroy
...
fix: return error when get is nil w/ allow_nil? == false
2021-09-12 16:39:48 -04: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
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
d4a7012d6e
fix: set actor on initial read of record for update
2021-07-30 17:05:22 -04:00
Zach Daniel
6c92a23040
improvement: update to latest ash
2021-07-01 22:59:16 -04:00
Zach Daniel
3a0b0c3f83
improvement: add as_mutation
for queries
...
improvement: support `modify_resolution` for queries
2021-06-29 12:17:33 -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
Zach Daniel
020ad849ea
improvement: add modify_resolution
for mutations
2021-06-14 12:08:26 -04:00
Zach Daniel
d86e60ec68
fix: catch error in `massage_filter/2
2021-06-08 17:37:59 -04:00
Zach Daniel
0cc81ce9f6
improvement: support expression calculations
2021-06-04 15:07:12 -04:00
Zach Daniel
0aa2787d52
improvement: support identity: false
for read
...
improvement: don't type embedded resources is nullable
2021-05-22 23:49:31 -04:00
Zach Daniel
2f31650899
fix: don't load fields if no fields to load
2021-05-14 13:08:25 -04:00
Zach Daniel
77bf8788f5
improvement: log error stacktraces
2021-05-14 12:31:12 -04:00
Zach Daniel
8945851fd1
improvement: add stacktraces?
option
2021-05-14 12:25:43 -04:00
Zach Daniel
b8ca64590f
fix: support soft destroys
...
fix: support actions with no input objects
2021-05-10 02:19:47 -04:00
Zach Daniel
06d674aac6
fix: don't have leaky errors
...
fix: support filtering on aggregates in nested resolvers
2021-05-04 13:01:15 -04:00
Zach Daniel
13799c37e7
fix: don't raise on missing relationship actions
...
fix: properly detect selection of count
2021-04-28 16:54:06 -04:00
Zach Daniel
ce0e275a9a
fix: load fields before sorting
2021-04-26 17:37:43 -04:00
Zach Daniel
ae23048ba1
fix: load aggregates used in sort
2021-04-26 17:35:03 -04:00
Zach Daniel
3a88127d0b
fix: load aggregates from sorts
2021-04-26 17:25:23 -04:00
Zach Daniel
73efedb8da
fix: load any aggregates referenced in the filter
2021-04-26 17:22:45 -04:00
Zach Daniel
347d73ec25
fix: properly unwrap invalid errors
2021-04-26 13:14:25 -04:00
Zach Daniel
d9ead2ef32
fix: unwrap invalid errors
2021-04-26 13:07:00 -04:00
Zach Daniel
68306a7265
improvement: support ash_context
key
2021-04-19 16:17:35 -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
11db824adc
fix: set actor when building changeset
2021-04-18 10:57:18 -04:00
Zach Daniel
6be5c593cd
fix: proper not found errors
2021-04-16 13:49:51 -04:00
Zach Daniel
88f912a6aa
fix: correctly select fields to clear
2021-04-16 12:59:04 -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
6b84bf0f46
fix: detect all embeddable types in arguments and nested
...
fix: detect enums in embeddable types and arguments
fix: error messages for `InvalidArgument`
improvement: log on unrenderable error messages
fix: store refs in graphql blueprint to fix error messages
improvement: update to latest ash
2021-04-13 17:49:10 -04:00
Zach Daniel
ea6a21586a
fix: fix graphql subselections for pagination
2021-04-09 16:29:50 -04:00