Jeremy Grant
682a240aa9
fix: {:array, UnionType} issues resolving embedded types ( #82 )
2023-07-03 23:42:40 -04:00
Zach Daniel
61003d539a
chore: update fix with exception for embedded resources
2023-06-28 10:52:23 -04:00
Zach Daniel
eb6d4f24f7
fix: only include types for actions being used by ash_graphql
2023-06-28 10:20:59 -04:00
Zach Daniel
d2f1f321f6
fix: handle detection of fields nested in aliases
2023-06-23 10:53:24 -04:00
Zach Daniel
bb96354470
improvement: support ForbiddenField
2023-06-23 10:10:39 -04:00
Alan Heywood
1c9c173631
fix: fix Logger deprecations for elixir 1.15 ( #79 )
...
Use Logger.warning instead of Logger.warn, which is deprecated
2023-06-22 17:38:24 -04:00
Zach Daniel
c70e7dec7d
improvement: use parse_input
for filters
2023-06-19 15:09:32 -04:00
Zach Daniel
1f6e87ff01
fix: properly resolve arrays of unions from calculations
2023-06-15 13:04:45 -04:00
Zach Daniel
045426c629
fix: account for lists of newtype unions
2023-06-14 10:21:20 -04:00
Zach Daniel
102bf96221
improvement: use new can_load?/2
2023-06-12 16:59:05 -04:00
Zach Daniel
74211ef3f4
fix: properly fetch aliased all attributes
2023-06-12 13:19:07 -04:00
Zach Daniel
3570c477f0
improvement: finalize Subscription.query_for_subscription
args
2023-06-09 12:01:21 -04:00
Zach Daniel
087579a062
fix: fixes for resolvers
2023-06-09 10:19:31 -04:00
Zach Daniel
05be948204
improvement: revamp data loading to be a single load statement
2023-06-09 00:45:39 -04:00
Zach Daniel
e7f7cfc133
fix: ensure forbidden errors always use forbidden
code
2023-06-05 17:19:49 -04:00
Zach Daniel
0caf5365f7
improvement: use Ash.Changeset.load
2023-06-05 14:04:53 -04:00
Zach Daniel
a00c55c749
improvement: load calculations using Ash.Query.load
2023-06-05 10:41:36 -04:00
Zach Daniel
d8cf992370
improvement: set actor when building loaded read query
2023-06-04 16:09:55 -04:00
Zach Daniel
000809b34f
improvement: graphql_rename_value/1
for enums
...
docs: union guide & improved enum guide
2023-05-23 17:11:58 -04:00
Zach Daniel
d8b73b56e4
fix: properly use primary read as default read_action
2023-05-22 16:20:46 -04:00
Zach Daniel
20ce8b505e
fix: properly thread read action arguments through on updates
2023-05-19 18:01:33 -04:00
Zach Daniel
309c35d405
fix: choose a better default delimiter
2023-05-18 00:16:58 -04:00
Zach Daniel
db23b32552
fix: various problems with resolving unions in relationship changes
2023-05-17 22:41:24 -04:00
Zach Daniel
6701b57afe
fix: properly wrap union resolvers in a list
2023-05-17 16:20:16 -04:00
Zach Daniel
6e444da1e7
improvement: add composite pkey default delimiter
2023-05-17 14:01:20 -04:00
Zach Daniel
d80016abd7
fix: don't generate enum types when no graphql type exists
2023-05-16 12:42:10 -04:00
Zach Daniel
02dc6e0f0a
chore: fix build/sobelow
2023-05-15 10:07:37 -04:00
Barnabas Jovanovics
48392115e0
feat: create types for maps with constraints ( #68 )
2023-05-15 09:39:32 -04:00
Zach Daniel
e0ce5c5e65
fix: don't hide fields not called :id
2023-05-08 10:57:42 -04:00
Zach Daniel
7e8c02343c
chore: remove inspect
2023-05-01 18:47:14 -04:00
Zach Daniel
cccac9034a
improvement: handle nil
values in union types
2023-05-01 18:38:58 -04:00
bcksl
8223797dd6
feat: add filterable_fields
to limit generated filters ( #69 )
2023-04-28 10:04:30 -04:00
Zach Daniel
79a7145c44
improvement: support hiding fields
2023-04-26 23:40:41 -04:00
bcksl
8e6f9b7bd5
improvement: pass description
through to Absinthe in more cases ( #63 )
2023-04-23 07:03:54 -06:00
Zach Daniel
0a6051469f
chore: remove TODO
2023-04-23 07:03:26 -06:00
Zach Daniel
e91001e83f
improvement: better union type handling
...
still need to document this, but adding support for
`graphql_unnested_unions/1` on `NewType` defined unions.
This allows for lifting up union type values to not be nested under `value`
2023-04-21 01:12:20 -06:00
Zach Daniel
e83835cab9
improvement: don't define union input types for calcs/aggregates
2023-04-20 13:30:13 -06:00
Zach Daniel
d4ee7c5ac2
fix: include resource name in managed_relationship types
2023-04-16 18:15:25 -04:00
Zach Daniel
e78a9f7926
improvement: add auto? true
option for managed_relationships
2023-04-16 16:52:37 -04:00
Zach Daniel
13910dd0f1
fix: handle certain types in calculations
2023-04-14 10:46:18 -04:00
Alan Heywood
d89a14175c
improvement: support manual relationships ( #66 )
2023-04-13 01:42:45 -04:00
bcksl
31315db6f9
improvement: thread context from PlugHelpers.get_context
through to Query
and Changeset
( #62 )
2023-04-05 10:39:12 -04:00
Zach Daniel
6b7ea9048f
fix: unique enum types by name
2023-04-03 11:20:34 -04:00
Mariusz Morawski
513e14f1d6
improvement: Add missing definition for Ash.Type.Time
type ( #64 )
2023-04-03 11:10:55 -04:00
Zach Daniel
c711fa2e9d
improvement: add tests & improve behavior of update managed relationships
2023-03-21 23:43:43 -04:00
Zach Daniel
fc1433170e
improvement: include primary key when managed relationship can update
2023-03-21 23:20:15 -04:00
Zach Daniel
e4dda5a3d9
improvement: don't add types for resources w/o a GQL type
...
docs: add config to getting started
2023-03-21 23:06:58 -04:00
Zach Daniel
425aee20fe
chore: fix sobelow
2023-03-21 21:27:07 -04:00
Zach Daniel
1bea680af3
feat: change type name generation for managed relationships.
...
The current type name generation could result in clashes.
We now show a warning explaining how to fix these.
2023-03-21 21:17:53 -04:00
Zach Daniel
8159e466e7
fix: properly handle nested argument casting
2023-03-21 16:15:25 -04:00