From 7b621db9af61702499cf48b7c73fd482545bc4d0 Mon Sep 17 00:00:00 2001 From: Thisaru Guruge Date: Wed, 8 Feb 2023 16:27:27 +0530 Subject: [PATCH] Fix typo in Ballerina GraphQL description --- .../language-support/ballerina/client/ballerina-graphql.md | 6 +++++- .../language-support/ballerina/server/ballerina-graphql.md | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/content/code/language-support/ballerina/client/ballerina-graphql.md b/src/content/code/language-support/ballerina/client/ballerina-graphql.md index 6e40c1eaed..4c0b88a027 100644 --- a/src/content/code/language-support/ballerina/client/ballerina-graphql.md +++ b/src/content/code/language-support/ballerina/client/ballerina-graphql.md @@ -8,7 +8,7 @@ github: ballerina-platform/module-ballerina-graphql To run a `ballerina-graphql` client: - Download and install [Ballerina Language](https://ballerina.io/downloads) -- Then run `bal run graphql_client.bal` to run the service, with with this code in the `graphql_client.bal` file: +- Then run `bal run graphql_client.bal` to run the service, with this code in the `graphql_client.bal` file: ```ballerina import ballerina/graphql; @@ -25,3 +25,7 @@ public function main() returns error? { io:println(response.data.hello); } ``` + +## Features +- Dependently-typed response retrieval with Ballerina type inferring +- Custom client generation support diff --git a/src/content/code/language-support/ballerina/server/ballerina-graphql.md b/src/content/code/language-support/ballerina/server/ballerina-graphql.md index 4f24d246d2..94777f7100 100644 --- a/src/content/code/language-support/ballerina/server/ballerina-graphql.md +++ b/src/content/code/language-support/ballerina/server/ballerina-graphql.md @@ -8,7 +8,7 @@ github: ballerina-platform/module-ballerina-graphql To run a `ballerina-graphql` hello world server: - Download and install [Ballerina Language](https://ballerina.io/downloads) -- Then run `bal run graphql_service.bal` to run the service, with with this code in the `graphql_service.bal` file: +- Then run `bal run graphql_service.bal` to run the service, with this code in the `graphql_service.bal` file: ```ballerina import ballerina/graphql;