From 5f923443504d931166254ffc2f4f7466ca623532 Mon Sep 17 00:00:00 2001 From: DimuthuMadushan Date: Wed, 20 Mar 2024 14:18:45 +0530 Subject: [PATCH] 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 { }