dillonkearns / elm-graphql

Autogenerate type-safe GraphQL queries in Elm.

Home Page:https://package.elm-lang.org/packages/dillonkearns/elm-graphql/latest

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Scalar decoder fails when the field contains an object.

pdamoc opened this issue · comments

In the context of scalar Any, if the backend sends a JSON object for the field, the scalarDecoder fails.

Expected behavior is to have the field contents available as a String in order to further extract the needed data.

Invalid issue, I was missing the information about Custom Scalars Codecs:
https://incrementalelm.com/scalar-codecs-tutorial/