Skip to content

Conversation

@gnawf
Copy link
Contributor

@gnawf gnawf commented Jan 11, 2022

Let me know if we should add any other tests.

return valueOf(((FloatValue) value).getValue());
} else if (value instanceof StringValue) {
return wrap("\"", escapeJsonString(((StringValue) value).getValue()), "\"");
return "\"" + escapeJsonString(((StringValue) value).getValue()) + "\"";
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Decided to just switch to plain old concat instead of using the wrap method.

Copy link
Member

@bbakerman bbakerman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice

@bbakerman bbakerman added this to the 18.0 milestone Jan 11, 2022
@bbakerman bbakerman merged commit 2d522ed into graphql-java:master Jan 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants