Commit graph

588 commits

Author SHA1 Message Date
Zach Daniel
7083a8363b improvement: build inputs for the underlying get action 2023-02-22 16:25:21 -05:00
Zach Daniel
744e8f504a chore: release version v0.22.11 2023-02-22 13:21:15 -05:00
Zach Daniel
9d2dcc49d9 fix: never resolve an already resolved field 2023-02-22 13:18:19 -05:00
Zach Daniel
80c3755860 fix: don't run mutations when they've been resolved 2023-02-22 13:13:42 -05:00
Zach Daniel
443e5fd680 improvement: add action_middleware option 2023-02-22 12:19:50 -05:00
Zach Daniel
9715b04160 chore: release version v0.22.10 2023-02-21 09:05:49 -05:00
Zach Daniel
4c26944f73 fix: don't traverse nested types for auto enums 2023-02-21 08:51:35 -05:00
Zach Daniel
0ecf70b54b docs: add AshGraphql.Resource.Helpers to docs 2023-02-20 20:19:00 -05:00
Zach Daniel
e8822232e7 chore: release version v0.22.9 2023-02-20 12:56:07 -05:00
Zach Daniel
4d08ea500f fix: don't run resolvers if already been resolved 2023-02-20 12:48:32 -05:00
Moxley Stratton
57a05efe75
doc: GraphQL Generation topic (#58) 2023-02-20 11:52:47 -05:00
Zach Daniel
34ee54128b ci: run ci on pull requests 2023-02-20 11:52:11 -05:00
Zach Daniel
288284e681 ci: add hex api key secret 2023-02-16 23:40:44 -05:00
Zach Daniel
58eb725802 chore: release version v0.22.8 2023-02-16 23:34:38 -05:00
Zach Daniel
f1d4c1a3cb improvement: better tagged union handling 2023-02-16 23:33:54 -05:00
Zach Daniel
f081126617 chore: release version v0.22.7 2023-02-16 16:54:46 -05:00
Zach Daniel
800b7eb25d fix: properly use the nested type name for union inputs 2023-02-15 19:39:41 -05:00
Zach Daniel
e15b90e009 fix: properly traverse all embedded/enum types 2023-02-15 15:10:22 -05:00
Zach Daniel
b0fc800079 fix: generate proper type name for union inputs 2023-02-15 13:58:53 -05:00
Zach Daniel
ef5559ed51 fix: infinite recursion in filterability checking 2023-02-15 13:37:55 -05:00
Zach Daniel
80ee34de81 fix: pass down attribute for union type generation 2023-02-15 12:03:57 -05:00
Zach Daniel
cf8267123e improvement: support new union types in ash 2023-02-15 08:20:35 -05:00
Zach Daniel
2a81c185c0 fix: bad error message on missing actions
closes #56
2023-02-13 13:42:44 -05:00
Zach Daniel
f40317f014 doc: add moduledocs for AshGraphql.Errors 2023-02-10 20:02:38 -05:00
Zach Daniel
913afc6d58 improvement: add AshGraphql.Errors.to_errors/3 2023-02-10 20:02:17 -05:00
Zach Daniel
7bb2387fb8 fix: don't try to get metadata out of an error 2023-02-10 11:34:25 -05:00
Zach Daniel
fbebb21d18 fix: ensure types are compiled when checking for enum 2023-02-09 01:23:41 -05:00
Zach Daniel
804390b433 chore: don't depend on overly restrained version of ash 2023-02-09 01:13:32 -05:00
Zach Daniel
7dc7fdf96b chore: release version v0.22.6 2023-02-09 01:11:22 -05:00
Zach Daniel
c6d06f2347 chore: release git_ops 2023-02-09 01:11:01 -05:00
Zach Daniel
79b12ddcec fix: properly fetch all global enum types 2023-02-09 01:00:36 -05:00
Zach Daniel
3c7c14c065 docs: add AshGraphql to docs 2023-02-08 22:59:20 -05:00
Zach Daniel
d83dacae54 improvement: make filter & sort generation optional 2023-02-08 15:16:40 -05:00
Zach Daniel
18e5f86fde improvement: add more? (as has_next_page) to pagination info 2023-02-08 11:16:48 -05:00
Zach Daniel
0dd509c603 chore: commit tool-versions 2023-01-31 23:58:35 -05:00
Zach Daniel
2cf5dd7f85 ci: update to new CI 2023-01-31 23:54:39 -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
Zach Daniel
4b90308173 chore: CI/dialyzer 2023-01-28 13:02:21 -05:00
Zach Daniel
f0836f18b6 improvement: support metadata on read actions
metadata on read actions is merged with the rest of the fields on the query, so must have a name unique from the attributes/calculations/aggregates.

The system will warn you if there is metadata on the underlying action that is being ignored, and will tell you how to fix it.
2023-01-28 12:32:21 -05:00
Zach Daniel
839bdcb126 improvement: unwrap forbidden errors, instead of reporting on the whole 2023-01-27 17:11:36 -05:00
Rebecca Le
5e87c52f9b
docs: Fix minor typos in headings (#53) 2023-01-23 22:42:11 -05:00
Zach Daniel
449ae90db8 fix: properly delete environment on exit 2023-01-18 23:14:08 -05:00
Alan Heywood
d9e17ed42b
fix: map uuid action arguments to ID type (#52) 2023-01-18 19:07:53 -05:00
Zach Daniel
5b26aa4f61 chore: release version v0.22.4 2023-01-18 01:11:55 -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
c0f5f596cb improvement: better error on empty input objects for managed relationships
closes #50
2023-01-09 19:55:35 -05:00
Zach Daniel
fd0f359f6b chore: update ash version in CI 2023-01-03 10:49:29 -05:00
Zach Daniel
a58f3c998e fix: properly generate enum for atom attributes w/ one_of constraint again
closes #49
2023-01-03 10:13:17 -05:00
Zach Daniel
36c70d2f93 improvement: log stacktraces on raised errors 2023-01-03 09:14:08 -05:00