You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2022/02/24 07:39:48 UTC
[GitHub] [camel-quarkus] jamesnetherton commented on a change in pull request #3572: Improve camel-quarkus-bean-validator test coverage #3567
jamesnetherton commented on a change in pull request #3572:
URL: https://github.com/apache/camel-quarkus/pull/3572#discussion_r813614899
##########
File path: docs/modules/ROOT/pages/reference/extensions/bean-validator.adoc
##########
@@ -38,3 +38,28 @@ Or add the coordinates to your existing project:
----
Check the xref:user-guide/index.adoc[User guide] for more information about writing Camel Quarkus applications.
+
+== Usage
+
+=== Configuring the ValidatorFactory
+
+Implementation of this extension leverages https://quarkus.io/guides/validation[Quarkus extension].
+
+Therefore it is not possible to configure ValidatorFactory by Camel's properties ('constraintValidatorFactory`, `messageInterpolator`, `traversableResolver`, `validationProviderResolver` and `validatorFactory`).
Review comment:
```suggestion
Therefore it is not possible to configure the `ValidatorFactory` by Camel's properties ('constraintValidatorFactory`, `messageInterpolator`, `traversableResolver`, `validationProviderResolver` and `validatorFactory`).
```
##########
File path: docs/modules/ROOT/pages/reference/extensions/bean-validator.adoc
##########
@@ -38,3 +38,28 @@ Or add the coordinates to your existing project:
----
Check the xref:user-guide/index.adoc[User guide] for more information about writing Camel Quarkus applications.
+
+== Usage
+
+=== Configuring the ValidatorFactory
+
+Implementation of this extension leverages https://quarkus.io/guides/validation[Quarkus extension].
Review comment:
```suggestion
Implementation of this extension leverages the https://quarkus.io/guides/validation[Quarkus Hibernate Validator extension].
```
##########
File path: docs/modules/ROOT/pages/reference/extensions/bean-validator.adoc
##########
@@ -38,3 +38,28 @@ Or add the coordinates to your existing project:
----
Check the xref:user-guide/index.adoc[User guide] for more information about writing Camel Quarkus applications.
+
+== Usage
+
+=== Configuring the ValidatorFactory
+
+Implementation of this extension leverages https://quarkus.io/guides/validation[Quarkus extension].
+
+Therefore it is not possible to configure ValidatorFactory by Camel's properties ('constraintValidatorFactory`, `messageInterpolator`, `traversableResolver`, `validationProviderResolver` and `validatorFactory`).
+
+You can configure ValidatorFactory by creation of beans which will be injected into the default validatorFactory (created by Quarkus).
Review comment:
```suggestion
You can configure the `ValidatorFactory` by the creation of beans which will be injected into the default `ValidatorFactory` (created by Quarkus).
```
##########
File path: docs/modules/ROOT/pages/reference/extensions/bean-validator.adoc
##########
@@ -38,3 +38,28 @@ Or add the coordinates to your existing project:
----
Check the xref:user-guide/index.adoc[User guide] for more information about writing Camel Quarkus applications.
+
+== Usage
+
+=== Configuring the ValidatorFactory
+
+Implementation of this extension leverages https://quarkus.io/guides/validation[Quarkus extension].
+
+Therefore it is not possible to configure ValidatorFactory by Camel's properties ('constraintValidatorFactory`, `messageInterpolator`, `traversableResolver`, `validationProviderResolver` and `validatorFactory`).
+
+You can configure ValidatorFactory by creation of beans which will be injected into the default validatorFactory (created by Quarkus).
+See https://quarkus.io/guides/validation#hibernate-validator-extension-and-cdi[documentation] for more information.
Review comment:
```suggestion
See the https://quarkus.io/guides/validation#hibernate-validator-extension-and-cdi[Quarkus CDI documentation] for more information.
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org