From b3919d260262fc7a69c0ecfbdc9a8002fdec4468 Mon Sep 17 00:00:00 2001 From: ballerina-bot Date: Wed, 21 Feb 2024 07:47:30 +0000 Subject: [PATCH 1/5] [Gradle Release Plugin] - new version commit: 'v0.9.1-SNAPSHOT'. --- gradle.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index 6e30aaaa..770a78ad 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,6 +1,6 @@ org.gradle.caching=true group=io.ballerina -version=0.9.0 +version=0.9.1-SNAPSHOT #dependency ballerinaLangVersion=2201.8.5 From 5f923443504d931166254ffc2f4f7466ca623532 Mon Sep 17 00:00:00 2001 From: DimuthuMadushan Date: Wed, 20 Mar 2024 14:18:45 +0530 Subject: [PATCH 2/5] Update test resource files with formatting changes --- gradle.properties | 2 +- .../expectedServices/typesDocsWithInterfacesDefault.bal | 1 + .../serviceGen/expectedServices/typesWithInterfaceDefault.bal | 2 ++ .../expectedServices/typesWithInterfaceRecordsAllowed.bal | 2 ++ .../typesWithInterfacesImplementingInterfacesDefault.bal | 2 ++ .../expectedServices/typesWithMultipleInterfacesDefault.bal | 2 ++ 6 files changed, 10 insertions(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index 6e09ed4d..ba666ab8 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,7 +3,7 @@ group=io.ballerina version=0.9.0-SNAPSHOT #dependency -ballerinaLangVersion=2201.8.5 +ballerinaLangVersion=2201.9.0-20240319-165400-2b26c405 puppycrawlCheckstyleVersion=10.12.1 githubJohnrengelmanShadowVersion=8.1.1 underCouchDownloadVersion=5.4.0 diff --git a/graphql-cli/src/test/resources/serviceGen/expectedServices/typesDocsWithInterfacesDefault.bal b/graphql-cli/src/test/resources/serviceGen/expectedServices/typesDocsWithInterfacesDefault.bal index b44802af..0d6f842a 100644 --- a/graphql-cli/src/test/resources/serviceGen/expectedServices/typesDocsWithInterfacesDefault.bal +++ b/graphql-cli/src/test/resources/serviceGen/expectedServices/typesDocsWithInterfacesDefault.bal @@ -42,6 +42,7 @@ public distinct service class Student { *ContactInfo; *Info; *ExamInfo; + # The id of the student, unique identifier resource function get id() returns int { } diff --git a/graphql-cli/src/test/resources/serviceGen/expectedServices/typesWithInterfaceDefault.bal b/graphql-cli/src/test/resources/serviceGen/expectedServices/typesWithInterfaceDefault.bal index 1fda52a9..73da836c 100644 --- a/graphql-cli/src/test/resources/serviceGen/expectedServices/typesWithInterfaceDefault.bal +++ b/graphql-cli/src/test/resources/serviceGen/expectedServices/typesWithInterfaceDefault.bal @@ -18,6 +18,7 @@ public distinct service class Book { public distinct service class Student { *Info; + resource function get id() returns int { } @@ -27,6 +28,7 @@ public distinct service class Student { public distinct service class Teacher { *Info; + resource function get id() returns int { } diff --git a/graphql-cli/src/test/resources/serviceGen/expectedServices/typesWithInterfaceRecordsAllowed.bal b/graphql-cli/src/test/resources/serviceGen/expectedServices/typesWithInterfaceRecordsAllowed.bal index b8b80fa2..f5c4a48c 100644 --- a/graphql-cli/src/test/resources/serviceGen/expectedServices/typesWithInterfaceRecordsAllowed.bal +++ b/graphql-cli/src/test/resources/serviceGen/expectedServices/typesWithInterfaceRecordsAllowed.bal @@ -17,6 +17,7 @@ public type Book record {| public distinct service class Student { *Info; + resource function get id() returns int { } @@ -26,6 +27,7 @@ public distinct service class Student { public distinct service class Teacher { *Info; + resource function get id() returns int { } diff --git a/graphql-cli/src/test/resources/serviceGen/expectedServices/typesWithInterfacesImplementingInterfacesDefault.bal b/graphql-cli/src/test/resources/serviceGen/expectedServices/typesWithInterfacesImplementingInterfacesDefault.bal index c4fed5a3..b28c1681 100644 --- a/graphql-cli/src/test/resources/serviceGen/expectedServices/typesWithInterfacesImplementingInterfacesDefault.bal +++ b/graphql-cli/src/test/resources/serviceGen/expectedServices/typesWithInterfacesImplementingInterfacesDefault.bal @@ -21,6 +21,7 @@ public type Info distinct service object { public distinct service class Student { *Info; + resource function get id() returns int { } @@ -30,6 +31,7 @@ public distinct service class Student { public distinct service class Teacher { *AddressInfo; + resource function get id() returns int { } diff --git a/graphql-cli/src/test/resources/serviceGen/expectedServices/typesWithMultipleInterfacesDefault.bal b/graphql-cli/src/test/resources/serviceGen/expectedServices/typesWithMultipleInterfacesDefault.bal index e28090b4..d54bd843 100644 --- a/graphql-cli/src/test/resources/serviceGen/expectedServices/typesWithMultipleInterfacesDefault.bal +++ b/graphql-cli/src/test/resources/serviceGen/expectedServices/typesWithMultipleInterfacesDefault.bal @@ -20,6 +20,7 @@ public type Info distinct service object { public distinct service class Student { *Info; *ExamInfo; + resource function get id() returns int { } @@ -33,6 +34,7 @@ public distinct service class Student { public distinct service class Teacher { *Info; *ContactInfo; + resource function get id() returns int { } From fa57148f707322e36b26e253b405d2b5d3e1aad0 Mon Sep 17 00:00:00 2001 From: DimuthuMadushan <35717653+DimuthuMadushan@users.noreply.github.com> Date: Wed, 20 Mar 2024 16:22:53 +0530 Subject: [PATCH 3/5] Revert "Update Test Resource Files with Formatting Changes" --- gradle.properties | 2 +- .../expectedServices/typesDocsWithInterfacesDefault.bal | 1 - .../serviceGen/expectedServices/typesWithInterfaceDefault.bal | 2 -- .../expectedServices/typesWithInterfaceRecordsAllowed.bal | 2 -- .../typesWithInterfacesImplementingInterfacesDefault.bal | 2 -- .../expectedServices/typesWithMultipleInterfacesDefault.bal | 2 -- 6 files changed, 1 insertion(+), 10 deletions(-) diff --git a/gradle.properties b/gradle.properties index aaeab28c..770a78ad 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,7 +3,7 @@ group=io.ballerina version=0.9.1-SNAPSHOT #dependency -ballerinaLangVersion=2201.9.0-20240319-165400-2b26c405 +ballerinaLangVersion=2201.8.5 puppycrawlCheckstyleVersion=10.12.1 githubJohnrengelmanShadowVersion=8.1.1 underCouchDownloadVersion=5.4.0 diff --git a/graphql-cli/src/test/resources/serviceGen/expectedServices/typesDocsWithInterfacesDefault.bal b/graphql-cli/src/test/resources/serviceGen/expectedServices/typesDocsWithInterfacesDefault.bal index 0d6f842a..b44802af 100644 --- a/graphql-cli/src/test/resources/serviceGen/expectedServices/typesDocsWithInterfacesDefault.bal +++ b/graphql-cli/src/test/resources/serviceGen/expectedServices/typesDocsWithInterfacesDefault.bal @@ -42,7 +42,6 @@ public distinct service class Student { *ContactInfo; *Info; *ExamInfo; - # The id of the student, unique identifier resource function get id() returns int { } diff --git a/graphql-cli/src/test/resources/serviceGen/expectedServices/typesWithInterfaceDefault.bal b/graphql-cli/src/test/resources/serviceGen/expectedServices/typesWithInterfaceDefault.bal index 73da836c..1fda52a9 100644 --- a/graphql-cli/src/test/resources/serviceGen/expectedServices/typesWithInterfaceDefault.bal +++ b/graphql-cli/src/test/resources/serviceGen/expectedServices/typesWithInterfaceDefault.bal @@ -18,7 +18,6 @@ public distinct service class Book { public distinct service class Student { *Info; - resource function get id() returns int { } @@ -28,7 +27,6 @@ public distinct service class Student { public distinct service class Teacher { *Info; - resource function get id() returns int { } diff --git a/graphql-cli/src/test/resources/serviceGen/expectedServices/typesWithInterfaceRecordsAllowed.bal b/graphql-cli/src/test/resources/serviceGen/expectedServices/typesWithInterfaceRecordsAllowed.bal index f5c4a48c..b8b80fa2 100644 --- a/graphql-cli/src/test/resources/serviceGen/expectedServices/typesWithInterfaceRecordsAllowed.bal +++ b/graphql-cli/src/test/resources/serviceGen/expectedServices/typesWithInterfaceRecordsAllowed.bal @@ -17,7 +17,6 @@ public type Book record {| public distinct service class Student { *Info; - resource function get id() returns int { } @@ -27,7 +26,6 @@ public distinct service class Student { public distinct service class Teacher { *Info; - resource function get id() returns int { } diff --git a/graphql-cli/src/test/resources/serviceGen/expectedServices/typesWithInterfacesImplementingInterfacesDefault.bal b/graphql-cli/src/test/resources/serviceGen/expectedServices/typesWithInterfacesImplementingInterfacesDefault.bal index b28c1681..c4fed5a3 100644 --- a/graphql-cli/src/test/resources/serviceGen/expectedServices/typesWithInterfacesImplementingInterfacesDefault.bal +++ b/graphql-cli/src/test/resources/serviceGen/expectedServices/typesWithInterfacesImplementingInterfacesDefault.bal @@ -21,7 +21,6 @@ public type Info distinct service object { public distinct service class Student { *Info; - resource function get id() returns int { } @@ -31,7 +30,6 @@ public distinct service class Student { public distinct service class Teacher { *AddressInfo; - resource function get id() returns int { } diff --git a/graphql-cli/src/test/resources/serviceGen/expectedServices/typesWithMultipleInterfacesDefault.bal b/graphql-cli/src/test/resources/serviceGen/expectedServices/typesWithMultipleInterfacesDefault.bal index d54bd843..e28090b4 100644 --- a/graphql-cli/src/test/resources/serviceGen/expectedServices/typesWithMultipleInterfacesDefault.bal +++ b/graphql-cli/src/test/resources/serviceGen/expectedServices/typesWithMultipleInterfacesDefault.bal @@ -20,7 +20,6 @@ public type Info distinct service object { public distinct service class Student { *Info; *ExamInfo; - resource function get id() returns int { } @@ -34,7 +33,6 @@ public distinct service class Student { public distinct service class Teacher { *Info; *ContactInfo; - resource function get id() returns int { } From 1701802e40ed2f2fb834cd5e5b5708ed4f2b32fe Mon Sep 17 00:00:00 2001 From: DimuthuMadushan Date: Wed, 20 Mar 2024 14:18:45 +0530 Subject: [PATCH 4/5] Update test resource files with formatting changes --- gradle.properties | 4 ++-- .../expectedServices/typesDocsWithInterfacesDefault.bal | 1 + .../serviceGen/expectedServices/typesWithInterfaceDefault.bal | 2 ++ .../expectedServices/typesWithInterfaceRecordsAllowed.bal | 2 ++ .../typesWithInterfacesImplementingInterfacesDefault.bal | 2 ++ .../expectedServices/typesWithMultipleInterfacesDefault.bal | 2 ++ 6 files changed, 11 insertions(+), 2 deletions(-) diff --git a/gradle.properties b/gradle.properties index 770a78ad..e49773bc 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,9 +1,9 @@ org.gradle.caching=true group=io.ballerina -version=0.9.1-SNAPSHOT +version=0.10.0-SNAPSHOT #dependency -ballerinaLangVersion=2201.8.5 +ballerinaLangVersion=2201.9.0-20240321-130200-5b03581e puppycrawlCheckstyleVersion=10.12.1 githubJohnrengelmanShadowVersion=8.1.1 underCouchDownloadVersion=5.4.0 diff --git a/graphql-cli/src/test/resources/serviceGen/expectedServices/typesDocsWithInterfacesDefault.bal b/graphql-cli/src/test/resources/serviceGen/expectedServices/typesDocsWithInterfacesDefault.bal index b44802af..0d6f842a 100644 --- a/graphql-cli/src/test/resources/serviceGen/expectedServices/typesDocsWithInterfacesDefault.bal +++ b/graphql-cli/src/test/resources/serviceGen/expectedServices/typesDocsWithInterfacesDefault.bal @@ -42,6 +42,7 @@ public distinct service class Student { *ContactInfo; *Info; *ExamInfo; + # The id of the student, unique identifier resource function get id() returns int { } diff --git a/graphql-cli/src/test/resources/serviceGen/expectedServices/typesWithInterfaceDefault.bal b/graphql-cli/src/test/resources/serviceGen/expectedServices/typesWithInterfaceDefault.bal index 1fda52a9..73da836c 100644 --- a/graphql-cli/src/test/resources/serviceGen/expectedServices/typesWithInterfaceDefault.bal +++ b/graphql-cli/src/test/resources/serviceGen/expectedServices/typesWithInterfaceDefault.bal @@ -18,6 +18,7 @@ public distinct service class Book { public distinct service class Student { *Info; + resource function get id() returns int { } @@ -27,6 +28,7 @@ public distinct service class Student { public distinct service class Teacher { *Info; + resource function get id() returns int { } diff --git a/graphql-cli/src/test/resources/serviceGen/expectedServices/typesWithInterfaceRecordsAllowed.bal b/graphql-cli/src/test/resources/serviceGen/expectedServices/typesWithInterfaceRecordsAllowed.bal index b8b80fa2..f5c4a48c 100644 --- a/graphql-cli/src/test/resources/serviceGen/expectedServices/typesWithInterfaceRecordsAllowed.bal +++ b/graphql-cli/src/test/resources/serviceGen/expectedServices/typesWithInterfaceRecordsAllowed.bal @@ -17,6 +17,7 @@ public type Book record {| public distinct service class Student { *Info; + resource function get id() returns int { } @@ -26,6 +27,7 @@ public distinct service class Student { public distinct service class Teacher { *Info; + resource function get id() returns int { } diff --git a/graphql-cli/src/test/resources/serviceGen/expectedServices/typesWithInterfacesImplementingInterfacesDefault.bal b/graphql-cli/src/test/resources/serviceGen/expectedServices/typesWithInterfacesImplementingInterfacesDefault.bal index c4fed5a3..b28c1681 100644 --- a/graphql-cli/src/test/resources/serviceGen/expectedServices/typesWithInterfacesImplementingInterfacesDefault.bal +++ b/graphql-cli/src/test/resources/serviceGen/expectedServices/typesWithInterfacesImplementingInterfacesDefault.bal @@ -21,6 +21,7 @@ public type Info distinct service object { public distinct service class Student { *Info; + resource function get id() returns int { } @@ -30,6 +31,7 @@ public distinct service class Student { public distinct service class Teacher { *AddressInfo; + resource function get id() returns int { } diff --git a/graphql-cli/src/test/resources/serviceGen/expectedServices/typesWithMultipleInterfacesDefault.bal b/graphql-cli/src/test/resources/serviceGen/expectedServices/typesWithMultipleInterfacesDefault.bal index e28090b4..d54bd843 100644 --- a/graphql-cli/src/test/resources/serviceGen/expectedServices/typesWithMultipleInterfacesDefault.bal +++ b/graphql-cli/src/test/resources/serviceGen/expectedServices/typesWithMultipleInterfacesDefault.bal @@ -20,6 +20,7 @@ public type Info distinct service object { public distinct service class Student { *Info; *ExamInfo; + resource function get id() returns int { } @@ -33,6 +34,7 @@ public distinct service class Student { public distinct service class Teacher { *Info; *ContactInfo; + resource function get id() returns int { } From 833ad9d0a742c64cb8b6f1684f241d311352b668 Mon Sep 17 00:00:00 2001 From: Thisaru Guruge Date: Fri, 29 Mar 2024 12:17:13 +0530 Subject: [PATCH 5/5] Bump the GraphQL version --- gradle.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index e49773bc..8f8b79bf 100644 --- a/gradle.properties +++ b/gradle.properties @@ -50,7 +50,7 @@ stdlibHttpVersion=2.10.4 stdlibWebsocketVersion=2.10.1 # Level 07 -stdlibGraphqlVersion=1.11.0 +stdlibGraphqlVersion=1.11.1-20240322-102100-d659afb # Ballerinax Observer observeVersion=1.2.0