Bonfire.API.GraphQL.RestAdapter (Bonfire v1.0.1-social-alpha.28)
View SourceSummary
Functions
Process a GraphQL response and transform it to JSON.
Helper to require authentication and execute a function with the current user.
Functions
Process a GraphQL response and transform it to JSON.
Takes the GraphQL result, extracts data by name, applies optional transformation, and returns JSON response via conn.
Helper to require authentication and execute a function with the current user.
Returns 401 Unauthorized if no user is logged in.