Uh oh!
There was an error while loading. Please reload this page.
feat: add info comments to type generator - #291
Conversation
13adbd6 to
55dadbbCompare
elliotCamblor
left a comment
There was a problem hiding this comment.
Left some (mostly) nitpicky comments
Uh oh!
There was an error while loading. Please reload this page.
| } | ||
| private async getTypeDefinitionLine(variable: Variable, orgMembers: OrganizationMember[]): Promise<string> { | ||
| const { flags } = await this.parse(GenerateTypes) |
There was a problem hiding this comment.
Does it make sense to just pass the flags around this these functions rather than having to parse them out 2-3 times?
There was a problem hiding this comment.
I personally don't like the idea of passing the args around cause it clutters the definitions/calls and makes it more likely that someone will mistakenly pass the args in the wrong positions. Like some of the methods are gonna end up having lots of args i.e. getTypesString with 6 which is too much imo
There was a problem hiding this comment.
was even considering changing getTypesString to parse as well
Uh oh!
There was an error while loading. Please reload this page.
55dadbb to
35c37b1Compare35c37b1 to
a916809Compare
Uh oh!
There was an error while loading. Please reload this page.