From 3e6ea416b23480e4cdd22a73cde3f7533064f403 Mon Sep 17 00:00:00 2001 From: Thisaru Guruge Date: Mon, 25 Sep 2023 17:10:37 +0530 Subject: [PATCH] Change Ballerina standard library to Ballerina Library --- README.md | 2 +- ballerina/Package.md | 2 +- docs/spec/spec.md | 6 +++--- ... GraphQL Subscriptions with Apache Kafka in Ballerina.md | 4 ++-- gradle.properties | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 1b43c23ed..77ddbf25f 100644 --- a/README.md +++ b/README.md @@ -992,7 +992,7 @@ type name { ## Issues and projects -Issues and Projects tabs are disabled for this repository as this is part of the Ballerina Standard Library. To report bugs, request new features, start new discussions, view project boards, etc., go to the [Ballerina Standard Library parent repository](https://github.com/ballerina-platform/ballerina-standard-library). +Issues and Projects tabs are disabled for this repository as this is part of the Ballerina Library. To report bugs, request new features, start new discussions, view project boards, etc., go to the [Ballerina Library parent repository](https://github.com/ballerina-platform/ballerina-standard-library). This repository only contains the source code for the module. ## Build from the source diff --git a/ballerina/Package.md b/ballerina/Package.md index d97cafdf7..82aa76938 100644 --- a/ballerina/Package.md +++ b/ballerina/Package.md @@ -983,7 +983,7 @@ type name { > **Note:** The field name and the type names are equal. ## Report Issues -To report bugs, request new features, start new discussions, view project boards, etc., go to the [Ballerina standard library parent repository](https://github.com/ballerina-platform/ballerina-standard-library). +To report bugs, request new features, start new discussions, view project boards, etc., go to the [Ballerina library parent repository](https://github.com/ballerina-platform/ballerina-standard-library). ## Useful Links - Chat live with us via our [Discord server](https://discord.gg/ballerinalang). diff --git a/docs/spec/spec.md b/docs/spec/spec.md index bdc6ca0e5..0837c8930 100644 --- a/docs/spec/spec.md +++ b/docs/spec/spec.md @@ -9,7 +9,7 @@ _GraphQL Specification_: [October 2021](https://spec.graphql.org/October2021/) ## Introduction -This is the specification for the GraphQL standard library of the [Ballerina language](https://ballerina.io), which provides GraphQL server functionalities to produce GraphQL APIs and GraphQL client functionalities to communicate with GraphQL APIs. +This is the specification for the GraphQL package of the [Ballerina language](https://ballerina.io), which provides GraphQL server functionalities to produce GraphQL APIs and GraphQL client functionalities to communicate with GraphQL APIs. The GraphQL library specification has evolved and may continue to evolve in the future. The released versions of the specification can be found under the relevant GitHub tag. @@ -196,9 +196,9 @@ The conforming implementation of the specification is released and included in t ## 1. Overview -The Ballerina language provides first-class support for writing network-oriented programs. The GraphQL standard library uses these language constructs and creates the programming model to produce/consume GraphQL APIs. +The Ballerina language provides first-class support for writing network-oriented programs. The GraphQL package uses these language constructs and creates the programming model to produce/consume GraphQL APIs. -The GraphQL standard library is designed to work with [GraphQL specification](https://spec.graphql.org). There are two main approaches when writing GraphQL APIs. The schema-first approach and the code-first approach. The Ballerina GraphQL standard library uses the code-first first approach to write GraphQL APIs. This means no GraphQL schema is required to create a GraphQL service. +The GraphQL package is designed to work with [GraphQL specification](https://spec.graphql.org). There are two main approaches when writing GraphQL APIs. The schema-first approach and the code-first approach. The Ballerina GraphQL package uses the code-first first approach to write GraphQL APIs (which means no GraphQL schema is required to create a GraphQL service), while it also supports the schema-first approach through Ballerina GraphQL CLI tool. In addition to functional requirements, this library deals with none functional requirements such as security. Each requirement is discussed in detail in the coming sections. diff --git a/examples/news_alerts/A Guide on GraphQL Subscriptions with Apache Kafka in Ballerina.md b/examples/news_alerts/A Guide on GraphQL Subscriptions with Apache Kafka in Ballerina.md index dc703bdb1..0e2b72ed2 100644 --- a/examples/news_alerts/A Guide on GraphQL Subscriptions with Apache Kafka in Ballerina.md +++ b/examples/news_alerts/A Guide on GraphQL Subscriptions with Apache Kafka in Ballerina.md @@ -319,7 +319,7 @@ isolated function getAgency(string publisherId) returns Agency|error { } ``` ->**Note:** The `ballerina/uuid` package is used to generate unique IDs. Since it is a Ballerina standard library package, no additional work is needed for using it. +>**Note:** The `ballerina/uuid` package is used to generate unique IDs. Since it is a Ballerina library package, no additional work is needed for using it. #### Consuming News @@ -372,7 +372,7 @@ isolated class NewsStream { ### Implementing the GraphQL API -Now the GraphQL API can be implemented since all the other types/methods are defined. To define a GraphQL service, the `ballerina/graphql` package is used. It is a part of the Ballerina standard library. Therefore, no additional work is needed. +Now the GraphQL API can be implemented since all the other types/methods are defined. To define a GraphQL service, the `ballerina/graphql` package is used. It is a part of the Ballerina library. Therefore, no additional work is needed. Following code snippet shows how to define a GraphQL service in Ballerina. Remove the code in the `service.bal` and use this code to implement the GraphQL service. diff --git a/gradle.properties b/gradle.properties index e79138b8f..686e7fff8 100644 --- a/gradle.properties +++ b/gradle.properties @@ -13,7 +13,7 @@ eclipseLsp4jVersion=0.12.0 ballerinaGradlePluginVersion=2.0.1 jacocoVersion=0.8.10 -# Standard Library Dependencies +# Ballerina Library Dependencies # Level 01 stdlibIoVersion=1.6.0 stdlibTimeVersion=2.4.0