-
Notifications
You must be signed in to change notification settings - Fork 299
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@SubscriptionMapping it's not working as expected #893
Comments
Have you tried downgrading graphql-java? This might be a duplicate of #861 |
Yes, it worked, but after downgrading, AuthenticationPrincipal user is null every time |
Can you share a minimal sample application so I can have a look? |
If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed. |
Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue. |
I'm trying to figure it out, where is the problem. So I'm facing this error
{ "errors": [ { "message": "Subscription error", "locations": [], "extensions": { "classification": "INTERNAL_ERROR" } } ] }
, when I try to subscribe. I'm using 'org.springframework.graphql:spring-graphql:1.2.3' on spring boot 3.1.4, queries and mutation are working as expected, but subscription are not working at all. There is no exception in the console and I don't know what it's going on. This is how the subcription method looks like `@SubscriptionMapping("notifyTasks")public Flux notifyTasks(
@argument UUID orderId, @AuthenticationPrincipal OidcUser oidcUser) {
}` Any suggestions how to fix it?
The text was updated successfully, but these errors were encountered: