Open
Description
Describe the bug
When using the "convert to an object value" code fix on a nested object, the fix should be recursive.
Reproduction
@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
- Follow our Code of Conduct
- Check that there isn't already an issue that request the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion.
- The provided reproduction is a minimal reproducible example of the bug.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment