-
Notifications
You must be signed in to change notification settings - Fork 5
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
Add new step for easier graphql query #65
base: master
Are you sure you want to change the base?
Conversation
62adee7
to
6fd51f3
Compare
6fd51f3
to
35a910a
Compare
/** @var string */ | ||
private $graphqlEndpoint; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rather than a propoerty, it would be better IMO to have a I create the following graphql request on :graphqlEndpoint::
or something like that
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, but as an graphql endpoint is something that is fixed the same for all graphql request, it is redundant to precise it again in each request in my opinion
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ping ?
35a910a
to
74c59b1
Compare
74c59b1
to
97ba02f
Compare
97ba02f
to
9c2dcdb
Compare
9c2dcdb
to
07518bc
Compare
Had my eyes on this a short while ago, not sure if it is pertinent to have a graphql step to be honest, as a graphql reequest can be sent through a simple http request (with the graphql query as the body). |
Add a step that by default set the method to post and the route for the request to /graphql.
Also Json encode the query into the graphQl wrapper.