Commit graph

57 commits

Author SHA1 Message Date
Zach Daniel
79a7145c44 improvement: support hiding fields 2023-04-26 23:40:41 -04: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
3cc3c32f45 improvement: add support for Ash.Type.NewType 2023-03-13 18:32:36 -04:00
Zach Daniel
443e5fd680 improvement: add action_middleware option 2023-02-22 12:19:50 -05:00
Zach Daniel
4c26944f73 fix: don't traverse nested types for auto enums 2023-02-21 08:51:35 -05:00
Zach Daniel
e15b90e009 fix: properly traverse all embedded/enum types 2023-02-15 15:10:22 -05:00
Zach Daniel
ef5559ed51 fix: infinite recursion in filterability checking 2023-02-15 13:37:55 -05:00
Zach Daniel
cf8267123e improvement: support new union types in ash 2023-02-15 08:20:35 -05:00
Zach Daniel
fbebb21d18 fix: ensure types are compiled when checking for enum 2023-02-09 01:23:41 -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
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
Zach Daniel
9ff395711e improvement: handle keyset & offset pagination when combined on an action (by preferring keyset)
improvement: use new `depend_on_resources/` from Ash to remove the need for registry in schema
fix: various pagination fixes
2022-10-21 08:51:31 -04:00
Zach Daniel
c5662e90ba improvement: validate that relay? queries use keyset?: true actions
improvement: only add `count` to pages when one relevant query is countable
2022-10-21 07:38:33 -04:00
Zach Daniel
b1bdc49ec5 fix: reference schema not generated module when adding types 2022-10-20 15:03:13 -04:00
Zach Daniel
195ec3cd4f fix: handle empty root query/root mutation blocks
closes: #10
2022-10-12 17:25:33 -04:00
Maxim Martynov
e40e7c573c
improvement: Implement GraphQL Relay support (#36) 2022-09-20 23:07:30 -04:00
Zach Daniel
f4cb9213b3 update to latest ash 2022-08-30 19:08:16 -06:00
Zach Daniel
0a241cb26e fix: update to latest ash and use new interval type 2022-05-23 16:33:27 -04:00
Maxim Martynov
cc5f3a31f2
fix: Handle error if multitenant resource was fetched without tenant being set (#33) 2022-05-11 12:45:49 -04:00
Zach Daniel
d00e0a6e5d improvement: require registry explicitly to help with compile times 2022-05-10 11:49:19 -04:00
Zach Daniel
5e2b1bc16f fix: depend on registry at compile time 2022-04-26 12:46:51 -04:00
Zach Daniel
8ed9938201 improvement: fix lint/credo/versions 2022-04-26 11:35:09 -04:00
Zach Daniel
a8aa57e0f5 fix: add relay node type properly 2022-04-04 16:55:22 -04:00
Zach Daniel
5d35cf092e fix: ignore embedded resources accidentally placed in API 2022-03-25 13:17:35 -04:00
Zach Daniel
fdee19c3a5 fix: don't include the same enum multiple times 2022-03-24 17:05:53 -04:00
Zach Daniel
191b9b2d80 fix: properly generate types for interval type 2022-01-31 15:06:06 -05:00
Zach Daniel
862bfdd7b4 improvement: updates to handle the new registry changes 2022-01-31 14:55:14 -05:00
Zach Daniel
d2d8f199f7 fix: search for types in calculations 2021-09-07 17:06:20 -04:00
Zach Daniel
b313618d3a fix: include new custom type 2021-06-21 17:20:24 -04:00
Zach Daniel
23094215ef fix: avoid dialyzer errors on generated code 2021-05-19 01:29:57 -04:00
Zach Daniel
31bcf8039e fix: traverse all nested embeds for enum type defs 2021-05-18 14:07:01 -04:00
Zach Daniel
5a1df9f95a fix: ensure api modules are properly compiled first 2021-05-05 14:50:03 -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
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
5ab646b189 chore: small refactor in schema builder 2021-04-09 00:11:45 -04:00
Zach Daniel
afdaad2886 fix: allow referencing ash generated types 2021-03-12 09:19:33 -05:00
Zach Daniel
12611b6c64 fix: proper supports for embeds
improvement: update to latest ash
2021-02-22 23:28:01 -05:00
Zach Daniel
33ce6b952d WIP 2021-02-18 10:16:00 -05:00
Zach Daniel
a820beb474 feat: support embedded resources 2021-01-12 15:14:35 -05:00
Zach Daniel
e433b57eda fix: resolve testing compilation errors 2020-12-02 00:55:25 -05:00
Zach Daniel
6c7c789696 fix: remove IO.inspect 2020-11-30 19:19:11 -05:00
Zach Daniel
553f751ddf fix: undo change of global types 2020-11-30 19:16:37 -05:00
Zach Daniel
66b2162d10 fix: always add global types 2020-11-30 19:04:59 -05:00
Zach Daniel
7123a6a492 chore: release version v0.7.1 2020-11-30 18:17:20 -05:00
Zach Daniel
d5cf6ee3a0
feat: overhaul, better type support, pagination 2020-11-05 20:59:06 -05:00
Zach Daniel
c8b8fc5abd
feat: support multitenancy (#7) 2020-10-28 02:16:16 -04:00
Zach Daniel
10292ec73d
docs: update docs and links 2020-09-23 21:32:45 -04:00
Zach Daniel
7adb8c0f22
feat: rewrite with dataloader 2020-09-23 20:54:57 -04:00