Skip to content

Commit

Permalink
Merge pull request #1949 from Netflix/enable-conditional-filter
Browse files Browse the repository at this point in the history
Conditionally instantiate bean for ServerWebExchangeContextFilter.
  • Loading branch information
srinivasankavitha committed Jun 26, 2024
2 parents d5eb2d4 + 382a3c9 commit 872b0e7
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@ open class DgsSpringGraphQLAutoConfiguration {
}

@Bean
@ConditionalOnMissingBean
open fun serverWebExchangeContextFilter(): ServerWebExchangeContextFilter {
return ServerWebExchangeContextFilter()
}
Expand Down

0 comments on commit 872b0e7

Please sign in to comment.