Skip to content

Commit

Permalink
fix(deps): update dependency io.micronaut:micronaut-core-bom to v4.5.0 (
Browse files Browse the repository at this point in the history
#570)

* fix(deps): update dependency io.micronaut:micronaut-core-bom to v4.5.0

* fix compilation error

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Graeme Rocher <[email protected]>
  • Loading branch information
renovate[bot] and graemerocher authored May 30, 2024
1 parent 796f83e commit aea00cb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ managed-spring = "6.1.8"
groovy = "4.0.18"
h2 = '2.2.224'

micronaut = "4.4.0"
micronaut = "4.5.0"
micronaut-docs = "2.0.0"
micronaut-test = "4.2.0"
micronaut-cache = "4.3.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@ public reactor.core.publisher.Flux<DataBuffer> getBody() {

NettyHttpRequest<?> nettyRequest = ((NettyHttpRequest<?>) request);
try {
return Flux.from(nettyRequest.rootBody().rawContent(serverConfiguration).asPublisher())
.map(b -> nettyDataBufferFactory.wrap((ByteBuf) b));
return Flux.from(nettyRequest.byteBody().toByteBufferPublisher())
.map(b -> nettyDataBufferFactory.wrap((ByteBuf) b.asNativeBuffer()));
} catch (Throwable e) {
return Flux.error(e);
}
Expand Down

0 comments on commit aea00cb

Please sign in to comment.