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

Add new step for easier graphql query #65

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mhlsf
Copy link

@mhlsf mhlsf commented Jul 1, 2020

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.

@mhlsf mhlsf force-pushed the grahpql-query-support branch 4 times, most recently from 62adee7 to 6fd51f3 Compare July 10, 2020 15:14
@mhlsf mhlsf force-pushed the grahpql-query-support branch from 6fd51f3 to 35a910a Compare July 20, 2020 09:40
Comment on lines +40 to +41
/** @var string */
private $graphqlEndpoint;
Copy link
Owner

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

Copy link
Author

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

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ping ?

@mhlsf mhlsf force-pushed the grahpql-query-support branch from 35a910a to 74c59b1 Compare July 20, 2020 09:46
@mhlsf mhlsf force-pushed the grahpql-query-support branch from 74c59b1 to 97ba02f Compare July 28, 2020 08:03
@mhlsf mhlsf force-pushed the grahpql-query-support branch from 97ba02f to 9c2dcdb Compare November 18, 2020 15:57
@mhlsf mhlsf force-pushed the grahpql-query-support branch from 9c2dcdb to 07518bc Compare November 18, 2020 16:10
@Taluu
Copy link
Owner

Taluu commented Nov 18, 2020

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).

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

Successfully merging this pull request may close these issues.

2 participants