We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
String(value)
This reason:
let appId = "7323b2d5-e423-4b18-ad93-31e53f190baa"; let oneGraphUrl = {j|https://serve.onegraph.io/graphql?app_id=$appId|j};
outputs this javascript:
var appId = "7323b2d5-e423-4b18-ad93-31e53f190baa"; var oneGraphUrl = "https://serve.onegraph.io/graphql?app_id=" + (String(appId) + "");
If the type of appId is known to be string (or an alias of string/abstract string), is it possible that in the output of
appId
{j|https://serve.onegraph.io/graphql?app_id=$appId|j}
we could omit the + (String(appId) + "") and instead output
+ (String(appId) + "")
"https://serve.onegraph.io/graphql?app_id=" + appId;
"https://serve.onegraph.io/graphql?app_id=" + appId
The text was updated successfully, but these errors were encountered:
23ff5c2
Merge pull request #4304 from BuckleScript/fix_4293
21bb3dd
fix #4293 -- better output for string interpolation
No branches or pull requests
This reason:
outputs this javascript:
If the type of
appId
is known to be string (or an alias of string/abstract string), is it possible that in the output of{j|https://serve.onegraph.io/graphql?app_id=$appId|j}
we could omit the
+ (String(appId) + "")
and instead output"https://serve.onegraph.io/graphql?app_id=" + appId
;The text was updated successfully, but these errors were encountered: