Commit Graph

9 Commits

Author SHA1 Message Date
Brian Clozel
39937679e3 Apply Spring JavaFormat to Spring GraphQL Test
See gh-54
2021-06-02 14:30:00 +02:00
Rossen Stoyanchev
484fb932ef Replace QL with Ql for consistency with Spring naming 2021-05-14 21:32:54 +01:00
Rossen Stoyanchev
44a034ef3d Refine use of "query" in type and method names
Following revisions in the spec
https://github.com/graphql/graphql-spec/pull/777, this commit applies
similar changes to type and method names where feasible.

The chief exception for now is the use of "query" for request input
since that is what it is called in the JSON for GraphQL over HTTP.
2021-05-12 09:50:03 +01:00
Rossen Stoyanchev
f93c46eee3 WebInterceptor contract revision
WebInterceptor now uses delegation, forming a chain of interceptors
followed by a GraphQLService at the end to invoke graphql.GraphQL.

Closes gh-49
2021-04-30 21:26:26 +01:00
Rossen Stoyanchev
00b01ee524 Rename package for GraphQLTester 2021-04-26 21:59:52 +01:00
Rossen Stoyanchev
403019521c Rename spring-graphql-web to spring-graphql
Re-purpose spring-graphql-web to be more general than just web and add
org.springframework.web as a top-level package for web support.
2021-04-26 21:42:36 +01:00
Rossen Stoyanchev
a57b78e521 Improve GraphQLTester error checking API
This commit introduces a dedicated ErrorSpec with the option to filter
out expected errors through Predicates.
2021-04-20 11:08:01 +01:00
Rossen Stoyanchev
efb72c7d13 Add tests for GraphQLTester
See gh-43
2021-04-15 13:00:52 +01:00
Rossen Stoyanchev
e22d3e8ea4 Add GraphQLTester
See gh-43
2021-04-15 13:00:20 +01:00