Skip to content

Commit 2344fa4

Browse files
committed
adjust
1 parent 0a1f95c commit 2344fa4

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

compiler/crates/relay-typegen/src/rescript.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3030,7 +3030,7 @@ impl Writer for ReScriptPrinter {
30303030
// the keys, which means this works out.
30313031
writeln!(
30323032
generated_types,
3033-
"get: () => Internal.convertVariables(dict{{\"{}\": {}.get()}})-Dict.getUnsafe(\"{}\"),",
3033+
"get: () => Internal.convertVariables(Dict.fromArray([(\"{}\", {}.get())]))->Dict.getUnsafe(\"{}\"),",
30343034
key, module_name, key
30353035
)
30363036
.unwrap();

compiler/test-project-res/src/__generated__/TestProvidedVariablesQuery_graphql.res

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)