Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove dependency on Validation runtime #67

Merged
merged 9 commits into from
Jan 5, 2024

Conversation

alexander-yevsyukov
Copy link
Contributor

@alexander-yevsyukov alexander-yevsyukov commented Jan 4, 2024

This PR removes validation constraints previously added to Protobuf types in the tool-base module. Since tool-base uses vanilla Protobuf codegen (and not McJava), validation options have no effect, and are simply misleading.

Also the PR removes the redundant implementation dependency of tool-base on spine-validation-java-runtime.
The dependency caused version confusion in sub-projects that depend on tool-base.

The dependency on spine-base is still relevant for having the (type_url_prefix) file option, which is used by Spine utilities for working for packing messages into Protobuf Any.

config was also updated.

@alexander-yevsyukov alexander-yevsyukov changed the title Remove dependency on Validation runtime Promote Validation runtime dependency to api level Jan 5, 2024
@alexander-yevsyukov alexander-yevsyukov changed the title Promote Validation runtime dependency to api level Remove dependency on Validation runtime Jan 5, 2024
Also:
 * Optimise imports.
@alexander-yevsyukov alexander-yevsyukov merged commit 0c8f756 into master Jan 5, 2024
6 checks passed
@alexander-yevsyukov alexander-yevsyukov deleted the remove-validation-runtime-dependency branch January 5, 2024 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants