Zach Daniel
f895d2910b
chore: release version v0.27.1
2024-03-11 12:23:16 -04:00
Zach Daniel
d2343e5c54
chore: credo/remove inspects
2024-03-11 10:48:44 -04:00
Zach Daniel
4c1f8a2d1a
chore: release version v0.27.0
2024-02-12 19:47:06 -05:00
Riccardo Binetti
66d2f44443
feat: add Relay ID translation in mutation and queries ( #109 )
...
Adds a new option for queries and mutations that defines which arguments or
attributes will use a global Relay ID and their type. This allows automatically
decoding them before hitting their action.
This paves the way to automatic translation derived from the arguments, which
will be implemented subsequently.
---------
Co-authored-by: Zach Daniel <zachary.s.daniel@gmail.com>
2024-02-06 09:46:09 -05:00
Zach Daniel
099540c79e
fix: handle nested constraint derivation in union/map types
2024-02-04 10:36:23 -05:00
Riccardo Binetti
8fff0d361d
improvement: make mutation arguments non-null ( #111 )
...
* improvement: make mutation arguments non-null
As discussed in #105 and #110 , put this behind an opt-in configuration to avoid
breaking existing code.
The ID in update mutations is always non-null if non-null mutation arguments are
allowed, while input is non-null if it's allowed _and_ there is at least a
non-null field in the input.
Document the newly added config variable in the getting started guide.
* chore: enable non-null mutation arguments in tests
2024-01-31 17:52:01 -05:00
Riccardo Binetti
365b3aedc6
feat: Relay refetching support ( #106 )
...
* feat: add support for relay global IDs
* improvement: use the GraphQL type when projecting fields
This allows picking also up fields coming from fragments in queries returning an
interface
* feat: add relay node query
Allow retrieving a resource implementing the Node interface given its Relay
global id.
2024-01-24 14:59:12 -05:00
Zach Daniel
10d3d940cb
chore: simplify docs generation
2024-01-12 14:53:43 -05:00
Zach Daniel
840230c110
chore: release version v0.26.9
2024-01-12 14:34:33 -05:00
Zach Daniel
896d5c8df3
chore: release version v0.26.8
2023-12-04 18:29:53 -05:00
Zach Daniel
a5583ff8dc
chore: release version v0.26.7
2023-11-24 05:39:03 -05:00
Zach Daniel
c1845b2225
chore: cheat sheets
2023-11-13 23:23:54 -05:00
Zach Daniel
a33e4f5b77
improvement: support define_relay_types?: false
2023-10-15 21:12:13 -04:00
Jake Demarest-Mays
0e4ac7130c
docs: Removed mention of Context and Dataloader in Getting Started with Graphql ( #96 )
2023-10-12 11:24:47 -04:00
Zach Daniel
65778a1e1f
chore: release version v0.26.6
2023-10-06 13:52:54 -04:00
Zach Daniel
d7a49bc006
docs: add doc for use-subscriptions-with-graphql.md
2023-10-02 16:46:08 -04:00
Zach Daniel
d485f5378f
chore: release version v0.26.5
2023-10-02 14:52:51 -04:00
Zach Daniel
07296a5ef5
chore: release version v0.26.4
2023-10-01 09:53:27 -04:00
Zach Daniel
46cd22db0d
chore: release version v0.26.3
2023-09-28 17:31:54 -04:00
Zach Daniel
ca2e5342ac
fix: fix primary key delimiter verificatoin step
...
docs: improve docs on unions
2023-09-28 17:31:27 -04:00
Zach Daniel
b58503322b
docs: update spark/ash for docs improvements
2023-09-26 23:21:57 -04:00
Zach Daniel
ec3b747667
chore: release version v0.26.2
2023-09-17 19:34:56 -04:00
Zach Daniel
96b202221f
chore: release version v0.26.1
2023-09-15 13:53:37 -04:00
Zach Daniel
49c6534d73
improvement: generic action support
...
docs: better docs
2023-09-15 13:45:12 -04:00
Zach Daniel
a7d89c14c5
chore: release version v0.26.0
2023-08-29 21:32:47 -04:00
Zach Daniel
8f9e79e273
fix: pass arguments to related read action
2023-08-03 19:49:59 -04:00
Zach Daniel
8e898e7003
chore: no need for absinthe_plug
dependency
2023-07-31 15:17:10 -04:00
Zach Daniel
178ea6c7e3
chore: lock/guide/tool versions
2023-07-31 15:13:23 -04:00
Zach Daniel
997c80b526
chore: add back in dataloader
to not break existing apps
2023-06-09 16:14:23 -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
Moxley Stratton
80b5882730
Document how to query for errors in a mutation ( #70 )
2023-04-28 21:23:08 -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
4ad72e0ee1
docs: add AshGraphql.Plug
to getting started guide
2023-03-20 01:00:58 -04:00
Moxley Stratton
6623b444b9
docs: Enhance the GraphQL generation topic ( #61 )
2023-03-16 11:01:04 -04:00
Moxley Stratton
57a05efe75
doc: GraphQL Generation topic ( #58 )
2023-02-20 11:52:47 -05:00
Zach Daniel
2a9baf8164
docs: update getting started guide to be clearer
...
We also properly link to and continue from the Ash getting started guide
2023-01-29 19:03:59 -05:00
Rebecca Le
5e87c52f9b
docs: Fix minor typos in headings ( #53 )
2023-01-23 22:42:11 -05:00
Zach Daniel
5901cd650a
improvement: update ash and use new docs patterns
2023-01-18 01:10:40 -05:00
Barnabas Jovanovics
cf4dd38e39
docs: Fix constraints example in enum how_to ( #51 )
...
The Code Snippet gave me a compile error, telling me that `one_of` was not a valid options
2023-01-17 09:40:33 -05:00
Zach Daniel
1b3f43391d
improvement: support ash tracers and telemetry in graphql
2022-11-22 13:27:53 -05:00
Zach Daniel
48e6271d0d
fix: don't set mutation
block if no mutations exist
2022-11-01 21:58:41 -04:00
Zach Daniel
c650126819
fix: resolve issues compiling resources with no type
...
fix: adding an empty query block is apparently problematic?
2022-10-31 13:07:57 -04:00
James Harton
57e42cac6b
feat(AshGraphql.Plug): Support standard actor/tenant configuration. ( #43 )
2022-10-30 17:49:24 -04:00
Zach Daniel
fe079a55d9
docs: update getting started guide
2022-10-21 08:53:39 -04:00
Zach Daniel
1b11834afb
docs: remove out of date docs
2022-10-12 23:02:51 -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
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
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
Zach Daniel
f4cb9213b3
update to latest ash
2022-08-30 19:08:16 -06:00