You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have kind of a weird question. I doubt that this can be done at the current state of the project, but one can hope.
I am trying to get some form of guarantee about the properties of my stream in project-reactor. For example:
data class Item(val id: String?, val name: String)
Flux.just(
Item(id = null, name = "item"),
Item(id = "1", name = "another item"))
.filter { it.id != null }
.doOnNext { println(it.id) } // At this point the id field should be inferred as non-nullable
I had a look at the Laws section of the documentation, which is what you would normally use to extend support to 3rd party libraries, but I can't see that working here.
The text was updated successfully, but these errors were encountered:
Hello!
I have kind of a weird question. I doubt that this can be done at the current state of the project, but one can hope.
I am trying to get some form of guarantee about the properties of my stream in project-reactor. For example:
I had a look at the Laws section of the documentation, which is what you would normally use to extend support to 3rd party libraries, but I can't see that working here.
The text was updated successfully, but these errors were encountered: