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

documentation: Add documentation for the graphql-dgs-extended-validation module #1336

Open
Prototype-42 opened this issue Nov 27, 2022 · 1 comment
Labels
documentation Improvements or additions to documentation stale

Comments

@Prototype-42
Copy link

Prototype-42 commented Nov 27, 2022

Add a new Advanced documentation entry that explains how to configure and use the the graphql-dgs-extended-validation module to add your own custom validation rules.

While I was adding graphql-dgs-extended-validation to my project, it took me quite some time to figure out how to configure it correctly since there is still no documentation for the module.
I created some custom validation constraints which I then wanted to add to the SchemaDirectiveWiring. By looking into the pull request Add graphql-dgs-extended-validation module #659 I figured out that I had to inject my custom constraints using the customize(ValidationRules.Builder builder) method of the ValidationRulesBuilderCustomizer. This should be documented with code snippets and explanations.

@Prototype-42 Prototype-42 added the documentation Improvements or additions to documentation label Nov 27, 2022
@ClaudenirFreitas
Copy link
Contributor

There is another repository for documentation. This one.
I suppose we can move this issue. thinking

@github-actions github-actions bot added the stale label Dec 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation stale
Projects
None yet
Development

No branches or pull requests

2 participants