View Source BettyGql (Betty GQL v0.2.0)
This module was made as a wrapper for the data api used in Betty Blocks. This package aims to allow you to make a graphql request using a singular function.
This way it is easier to make microservices controlling your data and/or actions
Link to this section Summary
Functions
Executes a GraphQL query which can be provided, using the JWT token that is provided. Will return the full result as a Neuron map
Authenticates the user and returns a JWT token. This token can be used in the make_request function.
Link to this section Functions
Executes a GraphQL query which can be provided, using the JWT token that is provided. Will return the full result as a Neuron map
Authenticates the user and returns a JWT token. This token can be used in the make_request function.
The authentication is based on the config/config.exs file A more detailed explanation can be found here: https://github.com/JoeriDijkstra/betty_gql