SpineEventEngine / validation

Apache License 2.0
3 stars 0 forks source link

Avoid the runtime dependencies onto `validation-runtime` #31

Closed armiol closed 2 years ago

armiol commented 2 years ago

This changeset updates the generated validation code to use CollectionsConverter introduced to spine-base.

The idea is to get rid of validation-runtime artifact when compiling the Java files enhanced with the generated validation code. It is going to be enough that the generated code uses spine-base artifact already.

The validation-runtime module is left intact in this project to avoid any compatibility issues, as there are some complex Gradle dependency relations between validation, mc-java and ProtoData libraries, which are addressed partially by forcing some artifact versions. The validation-runtime module is now marked deprecated and will be removed in the following changesets.

armiol commented 2 years ago

@alexander-yevsyukov PTAL.

@dmdashenkov FYI.