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
* What went wrong:
Execution failed for task ':server:generateTestProto'.
> protoc: stdout: . stderr: Sep 17, 2022 6:14:58 PM io.spine.validate.option.Required checkUsage
WARNING: The field `spine.test.aggregate.number.RejectNegativeLong.number` has the type INT64 and should not be declared as `(required)`.
Sep 17, 2022 6:14:58 PM io.spine.validate.option.Required checkUsage
WARNING: The field `spine.test.server.number.NaturalNumber.value` has the type INT32 and should not be declared as `(required)`.
...
Looking at the NaturalNumber declaration reveals that it's not so:
messageNaturalNumber {
option(entity).kind=ENTITY;
// Natural number value.//// Must be greater than or equal to zero.int32value=1 [(min).value = "0"];
}
We do check that at least one field should be in an entity state type, but it doesn't make it required.
The text was updated successfully, but these errors were encountered:
Here's what I got recently in the console:
Looking at the
NaturalNumber
declaration reveals that it's not so:We do check that at least one field should be in an entity state type, but it doesn't make it required.
The text was updated successfully, but these errors were encountered: