Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GraphQL API Support #5

Open
adlerfaulkner opened this issue Jan 12, 2023 · 0 comments
Open

GraphQL API Support #5

adlerfaulkner opened this issue Jan 12, 2023 · 0 comments

Comments

@adlerfaulkner
Copy link
Contributor

adlerfaulkner commented Jan 12, 2023

Feature description

Add support for GraphQL APIs.

Ideas

  • Wound need to supply the GraphQL schema and endpoint url. Schema could be specified either via a .graphql Schema file or potentially obtained through introspection of the endpoint. Through both methods we can obtain the data types and operations the GraphQL API exposes.
  • The ApiSpec for GraphQL could include an endpointUrl field in addition to value. Maybe this means value should be renamed to spec or schema
  • The OperationExecutor for GraphQL would create and send a properly formatted GraphQL query according to the query or mutation specified as the operation.
  • Could use a GraphQL <> JSON translation library so that args can be passed as JSON

Click the 👍 to upvote, and 👎 to downvote.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant