-
Notifications
You must be signed in to change notification settings - Fork 285
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
bug: Reactive Federated Graph errors out when returning a Mono in a DGSEntityFetcher #876
Comments
Any updates on this, I am facing similar issue? |
Found similar issue #376, #389 , per which support was added in @BCantos17 any workarounds found? |
We're running into this as well :/ Tagging @paulbakker I didn't see explicit tests for |
I have not found a work around using project reactor. Currently the plan is to keep this service as a non-reactive app until this is fixed |
Found the following works: remove the mono only from the parent
|
Thanks for reporting this issue. We will look into fixing this in the next release or so. |
it's an issue for us as well. |
This is total nonsense Change your return type from CompletableFuture<String> cf = Mono.just("").toFuture(); Maybe this does not work, then use |
@jord1e alright, a bit harsh, but fair. I admit I haven't looked deeply into why isn't it working before posting. But thanks a lot for the suggestion; tested it and it works. |
@jord1e - Thanks so much for responding and suggesting a workaround. We will address this soon, we've been a bit busy with our current priorities and haven't gotten around to fixing this. Will do so in an upcoming release. |
Sorry for the rude reaction @bogdanbrindusan I had some free time, I fixed the issue @srinivasankavitha (consider it my 2024 Netflix internship application 😜) |
Expected behavior
Given a reactive federated graph, framework should return requested fields in schema without issues
Actual behavior
Returns error message stating no definition found for ...MonoJust.
Note: I tested this out without using Mono and it works fine
Steps to reproduce
Define a federated schema
Extend the federated schema
Define entity fetcher in extended service with returning an object with
Mono.just(...)
The text was updated successfully, but these errors were encountered: