Open gregturn opened 5 years ago
That would be very interessting. Especially it looks like that X-Forwarded-Prefix: is no more added to Link in such a scenario
X-Forwarded-Prefix:
spring: main: web-application-type: reactive server: forward-headers-strategy: native
Perhaps this could be some example:
private fun wrapInHateoas(someObject: SomeObject): Mono<EntityModel<SomeObject>> = someObject .toMono() .zipWith(linkTo(controller.getSomeObject(someObject.id)).withSelfRel().toMono()) { some: SomeObject, link: Link -> EntityModel(some, link) }
That would be very interessting. Especially it looks like that
X-Forwarded-Prefix:
is no more added to Link in such a scenarioPerhaps this could be some example: