Describe the bug
When using the "convert to an object value" code fix on a nested object, the fix should be recursive.
Reproduction
[Playground]
@example({Bar : {Baz : "Hello"}})
model Foo { Bar : Bar; }
model Bar { Baz : string }
Using the code fix in VSCode results in the following, requiring the code fix to be applied again to the inner object:
@example(#{Bar : {Baz : "Hello"}})
Checklist
Describe the bug
When using the "convert to an object value" code fix on a nested object, the fix should be recursive.
Reproduction
[Playground]
Using the code fix in VSCode results in the following, requiring the code fix to be applied again to the inner object:
Checklist