Commit graph

777 commits

Author SHA1 Message Date
Barnabas Jovanovics
34fd313901
improvement: make the node in relay edges non-null (#95)
* make the node in relay edges non-null

* make the edge non-null too

* fix edge type
2023-10-03 13:48:27 -04:00
Zach Daniel
58a038e609 fix: generic action mutations need to use the input object 2023-10-02 19:44:19 -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
cdb8cf7b7f fix: don't access .pagination on generic action 2023-10-02 14:47:31 -04:00
Zach Daniel
a67462c07f chore: only gather analytics on hexdocs.pm 2023-10-02 10:57:29 -04:00
Zach Daniel
b3ac663cfe chore: analytics in hexdocs 2023-10-02 08:35:53 -04:00
Zach Daniel
07296a5ef5 chore: release version v0.26.4 2023-10-01 09:53:27 -04:00
Tun Cham Roeun
4c86d31885
improvement: Add a top-level NOT filter, along with AND and OR filters. (#94) 2023-10-01 09:51:42 -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
c6db0fce48 improvement: add AshGraphql.Type 2023-09-28 15:47:03 -04:00
Zach Daniel
b58503322b docs: update spark/ash for docs improvements 2023-09-26 23:21:57 -04:00
Zach Daniel
fc3423b45a improvement: optimize union type resolver compile time logic 2023-09-20 09:21:44 -04:00
Zach Daniel
842e433f9f fix: don't include related fields in managed relationship inputs 2023-09-19 12:49:05 -04:00
Zach Daniel
ec3b747667 chore: release version v0.26.2 2023-09-17 19:34:56 -04:00
Zach Daniel
5b3e3abf35 fix: fix an issue w/ matching on actions in resolver
this is an empty commit, added to refer to the previous commit
2023-09-17 19:34:30 -04:00
Zach Daniel
1950581f83 chore: attempt to fix an issue w/ incorrect action call 2023-09-17 19:17:13 -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
0ec762507f test: fix testing type 2023-09-13 15:52:46 -04:00
Zach Daniel
339a78ec98 fix: handle nested array types 2023-09-13 14:55:17 -04:00
Zach Daniel
a7d89c14c5 chore: release version v0.26.0 2023-08-29 21:32:47 -04:00
Zach Daniel
1d69d8ef33 fix: support aggregates over calculations 2023-08-29 21:32:22 -04:00
Alan Heywood
0c869aa522
test: add failing test for an aggregate of a calculation (#92)
An error occurs at compile time:

== Compilation error in file test/support/schema.ex ==
** (MatchError) no match of right hand side value: {:error, "Must provide field type for max"}
    lib/resource/resource.ex:2278: AshGraphql.Resource.filterable?/2
    (elixir 1.15.4) lib/enum.ex:4265: Enum.filter_list/2
    (elixir 1.15.4) lib/enum.ex:4266: Enum.filter_list/2
    lib/resource/resource.ex:2229: AshGraphql.Resource.aggregate_filter_fields/2
    lib/resource/resource.ex:2195: AshGraphql.Resource.resource_filter_fields/2
    lib/resource/resource.ex:1159: AshGraphql.Resource.args/5
    lib/resource/resource.ex:425: anonymous fn/6 in AshGraphql.Resource.queries/5
    (elixir 1.15.4) lib/enum.ex:1693: Enum."-map/2-lists^map/1-1-"/2
2023-08-29 21:30:06 -04:00
Zach Daniel
39e33ca162 chore: fix testing type 2023-08-28 16:15:58 -04:00
Barnabas Jovanovics
bce89e985c
feat: add more sort order values (#91) 2023-08-28 10:42:39 -04:00
Barnabas Jovanovics
da1d1e889c
fix: wrap type in non-null reference if allow_nil? is set to false (#90)
* fix: wrap type in non-null reference if allow_nil? is set to false

* fix: get allow_nil? from the correct place
2023-08-22 14:43:27 -04:00
Zach Daniel
8f9e79e273 fix: pass arguments to related read action 2023-08-03 19:49:59 -04:00
Zach Daniel
d5e8781abf fix: recurse through array types for union checking 2023-07-31 22:14:11 -04:00
Zach Daniel
700cc1adee fix: don't add filter input for non-filterable resources 2023-07-31 22:07:03 -04:00
Zach Daniel
7e46a627b8 chore: format 2023-07-31 15:32:02 -04:00
Zach Daniel
8e898e7003 chore: no need for absinthe_plug dependency 2023-07-31 15:17:10 -04:00
Zach Daniel
0311724375 chore: update ssl_verify_fun 2023-07-31 15:16:21 -04:00
Zach Daniel
178ea6c7e3 chore: lock/guide/tool versions 2023-07-31 15:13:23 -04:00
Jeremy Grant
de149c63a5
fix(array unions): for arrays of embedded types unions when graphql_unnested_unions is used, without it they return empty values (#87) 2023-07-28 21:36:12 -04:00
Zach Daniel
9d0a8c4234 chore: release version v0.25.13 2023-07-13 09:24:03 -04:00
Zach Daniel
fe85aab53a fix: properly display forbidden field errors
fixes #84
2023-07-13 09:23:17 -04:00
Zach Daniel
df989855ba chore: update test config 2023-07-13 08:49:34 -04:00
Barnabas Jovanovics
e11deb07aa
test: update field policy test (#83) 2023-07-13 08:46:26 -04:00
Zach Daniel
41e354e2d3 chore: update test config 2023-07-13 01:45:43 -04:00
Zach Daniel
cf57747d79 chore: release version v0.25.12 2023-07-03 23:44:38 -04:00
Jeremy Grant
682a240aa9
fix: {:array, UnionType} issues resolving embedded types (#82) 2023-07-03 23:42:40 -04:00
Zach Daniel
bf4aaff3a3 improvement: update ash 2023-07-03 22:26:29 -04:00
Zach Daniel
7580a714a5 chore: release version v0.25.11 2023-07-03 21:37:10 -04:00
Zach Daniel
ef0eb4d086 chore: fix bug report template 2023-07-03 21:35:55 -04:00
Zach Daniel
60517e6e20 chore: update tests, the fix is in main, just need to wait for release 2023-06-28 14:35:18 -04:00
Barnabas Jovanovics
14a5898958
test: add test for loading stuff through unions with fragments (#81) 2023-06-28 11:14:50 -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