Skip to content

Commit

Permalink
Merge pull request #2110 from ballerina-platform/fix-plugin-test-fail…
Browse files Browse the repository at this point in the history
…ures

Fix plugin test failures
  • Loading branch information
gimantha authored Nov 26, 2024
2 parents d3a0161 + ead624b commit 79d9baa
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
import io.ballerina.projects.plugins.SyntaxNodeAnalysisContext;
import io.ballerina.stdlib.graphql.commons.types.Schema;
import io.ballerina.stdlib.graphql.commons.types.TypeName;
import io.ballerina.stdlib.graphql.commons.utils.TypeUtils;
import io.ballerina.stdlib.graphql.compiler.CacheConfigContext;
import io.ballerina.stdlib.graphql.compiler.FinderContext;
import io.ballerina.stdlib.graphql.compiler.Utils;
Expand Down Expand Up @@ -1400,6 +1401,7 @@ private String getFieldPath(ResourceMethodSymbol methodSymbol) {
}

private String getCurrentFieldPath() {
return String.join(FIELD_PATH_SEPARATOR, this.currentFieldPath);
return String.join(FIELD_PATH_SEPARATOR,
this.currentFieldPath.stream().map(TypeUtils::removeEscapeCharacter).toList());
}
}

0 comments on commit 79d9baa

Please sign in to comment.