Alexander Yevsyukov
Alexander Yevsyukov
This PR deprecates `NothingHappened` type alias in favour of `NoReaction`. See the discussion of #1335 for the reasoning behind this.
Now it is possible to declare an entity class with an entity state of a wrong kind. For example, it is possible to create a `Projection` with a message implementing...
Kotlin has standard type which is named `Nothing`. It is used in function declarations when it never returns because of throwing an exception. We have a specialized `Message` type, `io.spine.server.model.Nothing`,...
This PR migrates `core-java` to use latest ProtoData, Validation, and other internal and external dependencies.
The function proved to be useful when working in McJava. It just makes the Kotlin backend code more idiomatic. The exact code to be added is this: ```kotlin /** *...
I've just tried to create a couple of stub `Policy` classes and forgot to add `@React` annotation on the implemented `whenever()` methods. This resulted in runtime exception pointing that the...
Now it says: > Handles an event and produces some number of events in response. The signature is: ```java @ContractFor(handler = React::class) protected abstract fun whenever(event: E): Iterable ``` Logically,...
Even though it is possible to subscribe to events generated by a non-repository event producer such as `EventReactor`, those events are not delivered to the subscriptions. The reason for this...
I was working on a test fixture `CountingContext` using Kotlin DSL and couldn't get results I expected from the very simple logic. It turned out that I used DSL in...