plug_graphql v0.3.1 Plug.Parsers.GRAPHQL
Parses a GraphQL request body when the content-type
is set to application/graphql.
Mount it as a custom Plug.Parser by passing the atom :graphql to Plug.Parsers:
plug Plug.Parsers, parsers: [:graphql], pass: ["*/*"]
An empty request body is parsed as an empty map.
Summary
Functions
Callback implementation for c:Plug.Parsers.parse/5