Closed MaryamZi closed 2 weeks ago
The code modifier within the graphql
package adds a new field to the annotation @graphql:ServiceConfig
. However, during this process, the line breaks of the annotation were lost.
- @graphql:ServiceConfig {
- graphiql: {
- enabled: true
- }
- }
- service /reviewed on new graphql:Listener(9000) {
+ @graphql:ServiceConfig { graphiql: {
+ enabled: true
+ },
+, schemaString: "rO0A...." ,fieldCacheConfig:{enabled:false,maxSize:0}}service /reviewed on new graphql:Listener(9000) {
From the code coverage POV, this causes a multi-line diff of the CHANGE
type. This results in offsetting up coverage of the lines following the annotation.
As per the offline discussions with @azinneera @MaryamZi @SasinduDilshara @lochana-chathura , this needs to be fixed in the GraphQL compiler plugin. More details on this are documented in the library issue to track this https://github.com/ballerina-platform/ballerina-library/issues/6418.
Closing this issue for now.
This issue is NOT closed with a proper Reason/ label. Make sure to add proper reason label before closing. Please add or leave a comment with the proper reason label now.
- Reason/EngineeringMistake - The issue occurred due to a mistake made in the past.
- Reason/Regression - The issue has introduced a regression.
- Reason/MultipleComponentInteraction - Issue occured due to interactions in multiple components.
- Reason/Complex - Issue occurred due to complex scenario.
- Reason/Invalid - Issue is invalid.
- Reason/Other - None of the above cases.
Description
$title.
Steps to Reproduce
Source
Tests
Affected Version(s)
2201.9.0-rc1
OS, DB, other environment details and versions
No response
Related area
-> Test Framework
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response