owanturist/elm-graphql

Data decoder needs to be configurable

Closed this issue · 0 comments

Internal requestBuilder is configuring expect field as

Http.expectJson (Decode.field "data" (toDecoder graphql))

Well, Http.expectJson is ok, but hardcoding of decoder of data container is not good so it has to be possibly changed by building a request.