diff --git a/examples/graphql-input-constraint-validation/graphql_input_constraint_validation.bal b/examples/graphql-input-constraint-validation/graphql_input_constraint_validation.bal index adfb58e26b..930061a1a6 100644 --- a/examples/graphql-input-constraint-validation/graphql_input_constraint_validation.bal +++ b/examples/graphql-input-constraint-validation/graphql_input_constraint_validation.bal @@ -19,10 +19,6 @@ public type Profile record {| float height; |}; -@graphql:ServiceConfig { - // This is enabled by default. Use this config to disable constraint validation - validation: true -} service /graphql on new graphql:Listener(9090) { resource function get name(Profile profile) returns string { diff --git a/examples/index.json b/examples/index.json index 30cbea1b89..6467745241 100644 --- a/examples/index.json +++ b/examples/index.json @@ -2460,25 +2460,25 @@ "isLearnByExample": false }, { - "name": "File upload", - "url": "graphql-file-upload", + "name": "Input constraint validation", + "url": "graphql-input-constraint-validation", "verifyBuild": true, "verifyOutput": false, - "disableVerificationReason": "Needs prerequisite condition", "disablePlayground": true, "isLearnByExample": false }, { - "name": "Hierarchical resource paths", - "url": "graphql-hierarchical-resource-paths", + "name": "File upload", + "url": "graphql-file-upload", "verifyBuild": true, "verifyOutput": false, + "disableVerificationReason": "Needs prerequisite condition", "disablePlayground": true, "isLearnByExample": false }, { - "name": "Input constraint validation", - "url": "graphql-input-constraint-validation", + "name": "Hierarchical resource paths", + "url": "graphql-hierarchical-resource-paths", "verifyBuild": true, "verifyOutput": false, "disablePlayground": true,