Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kantis/kxs-repro


https://github.com/kantis/kxs-repro

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

## Webflux KotlinX Serialization issue

When using KotlinX serialization with Webflux, we expect that any combination of `suspend`
functions and `ResponseEntity` to play nicely together.

This project demonstrates that this is only the case when using `suspend` and **not** using `ResponseEntity`.
Any other combination of the two will cause Webflux to fall back to Jackson serialization which does not handle
value classes.

### How to run
1. ```./gradlew bootRun```

2. ```./gradlew check```