I tried upgrading today from ash_graphql fbebb21d1867acf9d43ad09c56374ad98ea8594f to fbebb21d1867acf9d43ad09c56374ad98ea8594f (also latest commits on other ash libraries) and I was unable to compile.
returns all fields including the fields of embedded types.
I have two fields
descriptione_en
descriptione_en
and
description_de
description_de
both use the same embedded Type, the embedded type has a :boolean attribute with a one_of constraint.
AshGraphql now tries to define the type twice for each boolean field. This results in a compile Error inside of absinthe.
I was unsure on how to handle the embeded resources in that part of the code. The graphql enum should be defined for the embedded type I guess and not the one where it is embedded.
An absinthe backed graphql API extension for the Ash Framework - ash_graphql/resource.ex at 0ecf70b54b78c6caa75d706ab4deacb214a3ee51 ยท ash-project/ash_graphql
The Elixir backend framework for unparalleled productivity. Declarative tools that let you stop wasting time. Use with Phoenix LiveView or build APIs in minutes for your front-end of choice.