Skip to content

Commit

Permalink
Merge pull request #1599 from ThisaruGuruge/master
Browse files Browse the repository at this point in the history
Change Ballerina standard library to Ballerina Library
  • Loading branch information
praneesha authored Sep 26, 2023
2 parents ad5716d + 3e6ea41 commit 13f28ed
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion ballerina/Package.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down
6 changes: 3 additions & 3 deletions docs/spec/spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down Expand Up @@ -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.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 13f28ed

Please sign in to comment.