How do you return null from a @BatchMapping? #1136
Labels
status: waiting-for-feedback
We need additional information before we can continue
status: waiting-for-triage
An issue we've not yet triaged
I've been trying to implement a controller which has a BatchMapping with a null value in the list being returned. Behind the scenes, this library is using reactive streams (flux/mono) which doesn't allow you to return a stream that has a null value.
What is the best way to return an optional relationship in the schema?
If you add the following test to the
BatchLoadingTests
file, you can reproduce the issue.The text was updated successfully, but these errors were encountered: