Zach Daniel
31bcf8039e
fix: traverse all nested embeds for enum type defs
2021-05-18 14:07:01 -04:00
Zach Daniel
3f0aab37e2
improvement: non nullable aggregates where possible
2021-05-15 12:03:58 -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
84ca2e7125
chore: format
2021-05-12 06:49:08 -04:00
Simon Bergström
c222e8088a
fix: Check for nil rather than the value as not
does not accept a function ( #23 )
...
Co-authored-by: Simon Bergström <simon.bergstrom@erlang-solutions.com>
2021-05-12 06:48:58 -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
Zach Daniel
3215bdbe12
fix: identities -> lookup_identities
2021-05-11 17:36:09 -04:00
Zach Daniel
aed4306fb9
fix: don't require attributes that should not be required
2021-05-11 17:27:26 -04:00
Zach Daniel
5ecf8bf838
improvement: allow customizing identity/pkey on_lookup
2021-05-11 12:12:28 -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
83e0e604a7
improvement: support eliding a type from an input object
2021-05-06 17:22:48 -04:00
WolfDan
c530245295
improvement: Add float type ( #20 )
2021-05-05 16:15:01 -04:00
Zach Daniel
5a1df9f95a
fix: ensure api modules are properly compiled first
2021-05-05 14:50:03 -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
405264911c
fix: properly support limit/offset on relationships
2021-05-04 09:31:39 -04:00
Zach Daniel
98f76fa28d
chore: fix after?
2021-05-01 16:30:55 -04:00
Zach Daniel
64d87106e5
fix: error rendering some paginated results
...
fix: ensure id is required after belongs_to attribute
2021-05-01 16:29:18 -04:00
Zach Daniel
a8df1da3cd
fix: don't require input types for filters
2021-04-30 16:22:21 -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
f1f96cebe7
fix: support Has
operator
2021-04-27 13:17:16 -04:00
Zach Daniel
74c2b78d69
fix: properly calculate array aggregate types
2021-04-27 11:40:02 -04:00
Zach Daniel
1cef0d300a
fix: only isNil
is supported for array filters for now
2021-04-27 01:06:29 -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
c293ae5744
fix: more aggregate type fixes
2021-04-26 17:05:29 -04:00
Zach Daniel
938e16d8c1
fix: properly determine aggregate type
2021-04-26 16:48:26 -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
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
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
Zach Daniel
5ab646b189
chore: small refactor in schema builder
2021-04-09 00:11:45 -04:00
Zach Daniel
e61f75ac40
fix: don't show non-predicate operators in filters
2021-04-06 10:17: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
5fb50fe2bb
improvement: generate type based on allow_nil? ( #14 )
2021-04-04 03:16:05 -04:00
Michael St Clair
596dc90381
feat: add read_one query ( #13 )
2021-04-04 03:10:50 -04:00