Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New issue
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
Fix Union Types Import Issue #6789
Fix Union Types Import Issue #6789
Changes from all commits
54a529c
234d2bd
74f3286
598ec7b
57e9f2e
a5f5021
5f12d9a
53d6b3c
d0f83e3
8f4d3b7
2529f40
cbb8701
b3fc17e
bcfdc66
51b911c
c8f1139
eec9818
d52396d
23de755
e1c0882
f34fe62
d75a96a
f66c514
a8ecd4e
460a0f5
f7a9516
08042bf
7096692
246614b
2bbd922
56eff35
16f897f
83b5e6f
dc0f575
de585d5
40dce44
7cc0b16
1aff13b
88ded7d
1fb99be
24dc8ce
c83d6b4
5f376de
d076160
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These two methods (toModelImportMap and toModelImport) look very similar (split by
|
, remove spaces, process each part). Should one method just delegate to the other? E.g.toModelImport
could calltoModelImportMap
and then collect the resulting map back into a string.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure good point. I introduced small helper methods with a more descriptive name and used the map method inside the single entry one.