Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: praneesha <praneesha@wso2.com>
  • Loading branch information
DimuthuMadushan and praneesha authored Jul 5, 2023
1 parent 629ddd9 commit be27ec1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# GraphQL service - Input constraint validation

GraphQL input constraint validation allows you to define and enforce constraints on input arguments. These constraints ensure that the provided input values meet certain criteria before they are processed. The input constraints can be configured using the `@constraint` annotation provided by the ballerina constraint package. The constraint validation can be enabled or disabled using the `validation` field in the `graphql:ServiceConfig`. By default, the validation field is set to `true`.
GraphQL input constraint validation allows you to define and enforce constraints on input arguments. These constraints ensure that the provided input values meet certain criteria before they are processed. The input constraints can be configured using the `@constraint` annotation provided by the Ballerina constraint package. The constraint validation can be enabled or disabled using the `validation` field in the `graphql:ServiceConfig`. By default, the validation field is set to `true`.

::: code graphql_input_constraint_validation.bal :::

Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
description: A GraphQL service endpoint written in Ballerina
description: A GraphQL service endpoint written in Ballerina.
keywords: ballerina, ballerina by example, bbe, graphql, graphql input constraint validation, graphql constraint validation

0 comments on commit be27ec1

Please sign in to comment.