dillonkearns / elm-graphql

Autogenerate type-safe GraphQL queries in Elm.
https://package.elm-lang.org/packages/dillonkearns/elm-graphql/latest
BSD 3-Clause "New" or "Revised" License
778 stars 107 forks source link

Add support for mapping response metadata #598

Open ssboisen opened 2 years ago

ssboisen commented 2 years ago

Using Graphql.Http.withResponseMapper it's now possible to add a mapper which combines http response metadata with query or mutation response. This is useful if you need access to especially custom response headers.

ssboisen commented 2 years ago

hi @dillonkearns any chance you could take a look at this? :)