在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):geowarin/graphql-webflux开源软件地址(OpenSource Url):https://github.com/geowarin/graphql-webflux开源编程语言(OpenSource Language):Kotlin 66.2%开源软件介绍(OpenSource Introduction):GraphQL and Spring WebfluxThis is a sample GraphQL application written in kotlin that uses graphQL-java and spring webflux (with spring-boot 2). When browsing the application on WhyThere is a graphql-spring-boot-starter already available but it uses a Servlet which forces us to use spring MVC. Creating a handler for webflux using graphql-java is fairly trivial but there is actually a spec to follow when serving graphql over HTTP. This is my implementation of the spec, it is fully tested and ready to be used in your application. I hope it can serve as a base implementation if graphql-java's authors wish to support Webflux in the future. TestsTests are written using the reactive WebClient and junit 5. They require gradle 4.6 to work, so be sure to use the wrapper. Your feedback is welcomeI'm not a reactor specialist and I don't have a clear understanding of graphql-java async's internals yet. In particular, I'm curious about this issue. If you have more insights, please give your opinion. I did my best to implement the graphql spec but there might be bugs or things I overlooked. If you find anything odd, contributing with an issue or a failing test would be wonderful. Thanks! |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论