webtau icon indicating copy to clipboard operation
webtau copied to clipboard

GraphQL DSL - configurability

Open tsiq-karold opened this issue 5 years ago • 2 comments

  1. url - in theory it's possible someone may serve at root for example, rather than graphql. It's debatable whether we should do this at all or just force users to stick the graphql path in the base url config.
  2. success status code - in case people deviate from best practices
  3. invocation method - there are many ways to invoke a graphql service according to best practices: POST bodies like I've used, GET and query params and POST with application/graphql content type. We probably should allow any of these.

tsiq-karold avatar Aug 05 '20 16:08 tsiq-karold

on (1), sticking with the standard /graphql path is at the very least a sensible default. Should be easy to make configurable if we hear that it's a limiting factor for a potential webtau user. Compared to (2) and (3), this seems like a very low priority.

tsiq-clemens avatar Aug 06 '20 17:08 tsiq-clemens

I think in general this whole issue is low priority compared to some of the other issues in https://github.com/testingisdocumenting/webtau/projects/4.

tsiq-karold avatar Aug 07 '20 09:08 tsiq-karold

closing as no active

MykolaGolubyev avatar Nov 08 '22 14:11 MykolaGolubyev