Skip to content

Wrong HandlerMapping ordering for GraphQL WebSocket configuration #37892

@bclozel

Description

@bclozel

As of spring-projects/spring-framework#30278, Spring Framework revisited the default ordering of the RouterFunctionMapping bean. The GraphQL WebSocket auto-configuration relied on a fixed order value for that bean so as to make the WebSocketHandlerMapping first.

We should fix the auto-configuration to make it first again and introduce a dedicated test to check for that.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions