SpineEventEngine / validation

Apache License 2.0
2 stars 0 forks source link

`(validate)` field option should generate code for calling `validate()` for nested messages #59

Open alexander-yevsyukov opened 1 year ago

alexander-yevsyukov commented 1 year ago

Not this does not happen in new Validation. For example, see io.spine.server.stand.EntityQueryProcessorTest.failOnInvalidQuery().

The test now passed because EntityQueryProcessor.process(Query) was patched to manually check()s instances of Query (which is a good idea anyway) AND query.getTarget() (which should be done by Query.validate()).