Commit graph

462 commits

Author SHA1 Message Date
Zach Daniel
9d05375555 chore: release version v0.23.2 2023-04-03 11:20:47 -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
f8a9f7d9aa chore: release version v0.23.1 2023-03-21 23:44:45 -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
ba9b14819b chore: release version v0.23.0 2023-03-21 21:27:25 -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
d59c8cfda7 chore: release version v0.22.13 2023-03-21 16:15:36 -04:00
Zach Daniel
8159e466e7 fix: properly handle nested argument casting 2023-03-21 16:15:25 -04:00
Zach Daniel
bad0357558 fix: only specify page option if actions upports it 2023-03-20 10:10:49 -04:00
Zach Daniel
4ad72e0ee1 docs: add AshGraphql.Plug to getting started guide 2023-03-20 01:00:58 -04:00
Zach Daniel
b8b5b61786 improvement: supply arguments to relationships on loading 2023-03-17 14:56:06 -04:00
Moxley Stratton
6623b444b9
docs: Enhance the GraphQL generation topic (#61) 2023-03-16 11:01:04 -04:00
Zach Daniel
d86f6601fb fix: properly filter enum types 2023-03-13 19:13:35 -04:00
Zach Daniel
e5002bc22d chore: release version v0.22.12 2023-03-13 18:33:41 -04:00
Zach Daniel
3cc3c32f45 improvement: add support for Ash.Type.NewType 2023-03-13 18:32:36 -04:00
George Anderson
c0dcd211e7
fix: Typo in name causing Error (#60) 2023-03-03 17:54:45 -05:00
Zach Daniel
9d007a8401 chore: format 2023-02-24 10:00:39 -05:00
Barnabas Jovanovics
e6aadc1221
fix: always return a list from pkey_fields (#59) 2023-02-24 10:00:00 -05:00
Zach Daniel
99a1bfcb8c fix: don't raise on errors reading underlying record 2023-02-22 16:40:20 -05:00
Zach Daniel
4e3acbc87d fix: typo on handle_arguments 2023-02-22 16:36:21 -05:00
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