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

Micronaut Validation documentation misses infromation about micronaut-http-validation #230

Open
sergey-morenets opened this issue Oct 17, 2023 · 0 comments

Comments

@sergey-morenets
Copy link

Expected Behavior

I created sample Micronaut project using https://micronaut.io/launch without any features. Generated pom.xml contains micronaut-http-validation annotation processor:

 <annotationProcessorPaths combine.children="append">
            <path>
              <groupId>io.micronaut</groupId>
              <artifactId>micronaut-http-validation</artifactId>
              <version>${micronaut.core.version}</version>
            </path>
            <path>
              <groupId>io.micronaut.serde</groupId>
              <artifactId>micronaut-serde-processor</artifactId>
              <version>${micronaut.serialization.version}</version>
              <exclusions>
                <exclusion>
                  <groupId>io.micronaut</groupId>
                  <artifactId>micronaut-inject</artifactId>
                </exclusion>
              </exclusions>
            </path>
          </annotationProcessorPaths>

I opened Micronaut Validation Guide (https://micronaut-projects.github.io/micronaut-validation/snapshot/guide/) and it contains no information about this dependency. The only annotation processor it mentions is micronaut-validation-processor:

<annotationProcessorPaths>
    <path>
        <groupId>io.micronaut.validation</groupId>
        <artifactId>micronaut-validation-processor</artifactId>
    </path>
</annotationProcessorPaths>

So it's not clear why this dependency was added by default, what is its role and how it affects the validation. I couldn't find anything about this dependency.

Actual Behaviour

Micronaut Validation documentation (https://micronaut-projects.github.io/micronaut-validation/snapshot/guide/) misses information about micronaut-http-validation dependency.

Steps To Reproduce

No response

Environment Information

No response

Example Application

No response

Version

4.1.4

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

No branches or pull requests

1 participant