-
Notifications
You must be signed in to change notification settings - Fork 198
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
Tackle multiple instances of a TypeName within a schema #667
base: next
Are you sure you want to change the base?
Conversation
This pull request introduces 1 alert when merging 9b34f66 into 6c6f9c9 - view on LGTM.com new alerts:
|
@domoritz, I realize my PRs have probably disrupted your week. This is the last one I promise. There is still a failing test case - related to the I'd appreciate your time in reviewing both the issue #666 and this change and providing directional guidance. |
This pull request introduces 3 alerts when merging fa9b8b5 into ed725fc - view on LGTM.com new alerts:
|
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.
Thank you for the Pull request. It looks like it was a lot of work so I appreciate the work you have done. Unfortunately, I am a bit overwhelmed by the size of the changes. Is there any way to break this up, reduce the complexity or at least increase test coverage?
One change I can see for example is to make srcFileName a property of base type and in the derived classes set it in super. Then you would definitely have better test coverage already since a lot of the untested code is in getSrcFileName.
Thanks for taking the time to review. I've had to move on to other things - so I might be a bit slow to get this done. I like the getSrcFileName idea. While I don't like the large change either, I am a bit skeptical it can be done piecemeal. |
Thanks! I am happy to help with more reviews. I'll mark this pull request as draft for now. |
@sramam can you finish up this pull request? |
I haven't found the time to get into making the changes you suggested. The context switch time is much larger for me and this would require a large block of time which has been a hurdle. It's on my back-burner though - in the sense that I feel guilty not having closed this out. Hopefully soon. |
No need to feel guilty. I appreciate that you want to make the time. Personal care should take priority over this project. |
This is an implementation for resolving #666, valid TypeScript programs that the schema-generator cannot handle due to "multiple-instances" in schema error.