Skip to content

Commit

Permalink
Make request scoped beans work properly in ReaderInterceptors
Browse files Browse the repository at this point in the history
Fixes: quarkusio#31692
(cherry picked from commit 067011e)
  • Loading branch information
geoand authored and gsmet committed Mar 16, 2023
1 parent 839393c commit 7b0a2cc
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ public RequestDeserializeHandler(Class<?> type, Type genericType, List<MediaType

@Override
public void handle(ResteasyReactiveRequestContext requestContext) throws Exception {
requestContext.requireCDIRequestScope();
MediaType effectiveRequestType = null;
Object requestType = requestContext.getHeader(HttpHeaders.CONTENT_TYPE, true);
if (requestType != null) {
Expand Down

0 comments on commit 7b0a2cc

Please sign in to comment.