https://github.com/litee/playground-spring-boot-graphql
Experiments with Graphql using Spring Boot
https://github.com/litee/playground-spring-boot-graphql
Last synced: about 1 year ago
JSON representation
Experiments with Graphql using Spring Boot
- Host: GitHub
- URL: https://github.com/litee/playground-spring-boot-graphql
- Owner: Litee
- License: mit
- Created: 2017-12-27T20:20:11.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-05T14:52:08.000Z (over 8 years ago)
- Last Synced: 2025-01-22T07:37:16.200Z (over 1 year ago)
- Language: Java
- Size: 14.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Playground for Graphql technology using Spring Boot + java-graphql
# Insights
* `java-graphiql` edit is nice, even has autocompletes!
* Could not find an easy way to test `java-graphql` using `MockMvc`, had to use `TestRestTemplate`, which is less elegant and slower
* Do not forget about `@DirtiesContext` for mutable operations!
* Tried JSONAssert for verifying replies. Something like ApprovalTests would be easier to use.