-
Notifications
You must be signed in to change notification settings - Fork 6
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
Misc improvements #162
Misc improvements #162
Conversation
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.
LGTM - just minor comments
String rbsType = "Array[" + member.getProperty("rbsType").get() + "]"; | ||
String yardType = "Array<" + member.getProperty("yardType").get() + ">"; | ||
return createSymbolBuilder(shape, getDefaultShapeName(shape, "List__"), rbsType, yardType, moduleName) | ||
String rbsType = "::Array[" + member.getProperty("rbsType").get() + "]"; |
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.
Out of scope of this PR - but I think related to my comment from previous PR - I think maybe we shoudl define a RubyType class and create instances for things like Array. that will know how to do the doc types, rbs, contarints, ect.... I think this applies here and in the middleware and possibly in other places as well.
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.
I'm not sure what that would look like... But yeah we can potentially do that outside this change.
RBS struct members
Refactor interceptor apply out of interceptor list
Rename yardType to docType
Extra RBS in hearth + some minor tweaks
other minor stuff.