Update READMEs

This commit is contained in:
rstoyanchev
2024-05-27 20:31:05 +01:00
parent d51e79132d
commit 930b8ccb11
2 changed files with 18 additions and 2 deletions

View File

@@ -14,4 +14,9 @@ Repository that hosts [Spring for GraphQL](https://github.com/spring-projects/sp
# Community Samples
- [PetClinic](https://github.com/spring-petclinic/spring-petclinic-graphql)
- [GraphQL Defer](https://github.com/felipe-gdr/spring-graphql-defer) -- demonstrate use of
[incremental delivery](https://github.com/graphql/defer-stream-wg) addition to GraphQL spec through experimental support GraphQL Java 22.
- [Multipart GraphQL](https://github.com/nkonev/multipart-graphql-demo) -- demonstrate use of the
[multipart-spring-graphql](https://github.com/nkonev/multipart-spring-graphql) library.
- [PetClinic](https://github.com/spring-petclinic/spring-petclinic-graphql) -- Variant of the
[original Petclinic](https://github.com/spring-projects/spring-petclinic) based on Spring for GraphQL.

View File

@@ -1,6 +1,17 @@
# Overview
GraphQL over WebSocket with an authentication token passed through the `"connection_init"` message.
GraphQL over WebSocket with authentication through the `"connection_init"` message.
[GreetingController](src/main/java/com/example/greeting/GreetingController.java) demonstrates
access to the authenticated user.
# Features
- WebSocket client and server.
- Intercept `"connection_init"` message on client and server.
- Encode and decode JWT token.
- Context propagation and access to `Authentication` in [GreetingController](src/main/java/com/example/greeting/GreetingController.java).
- Integration tests with live server.
- WebMvc or WebFlux as server transport.
# Configuration