forked from jlouis/graphql-erlang
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Multiple endpoints may now run independently each with their own schema process. - Global context has been replaced with `endpoint_context` type containing schema PID and ets tables. - New API in `graphql` with `ep_` prefix (ex `ep_execute()`). These take an `endpoint_context`. - New API in `graphql` with `p_` prefix (ex `p_execute()`). These take a schema PID/atom. This is most useful when you have a named schema process that can be referred to by its name atom. - Existing API wraps the `ep_` API and uses the named schema process `graphql_default_endpoint` - `endpoint_context` is passed inside `Ctx` maps. The variable `EP` is added when `endpoint_context` is needed but no `Ctx` is available. - ct tests pass - addresses case jlouis#91
- Loading branch information
1 parent
361733c
commit 2cf0500
Showing
12 changed files
with
618 additions
and
480 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.