Skip to content
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

Template for creating a new SDK generator #4010

Merged
merged 15 commits into from
Jul 9, 2024

Conversation

mikemilla
Copy link
Contributor

Updates to generating a new SDK generator from templates.

@mikemilla mikemilla requested a review from dsinghvi as a code owner July 8, 2024 23:41
@mikemilla mikemilla changed the title SDK Generator Script Updates Template for creating a new SDK generator Jul 8, 2024
name: "doSomething",
});
// eslint-disable-next-line no-console
console.log(output.toString());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

talked offline: we chatted about expect(output.ToString()).toMatchSnapshot();

if (this.indentLevel > 0) {
this.indentLevel--;
}
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would be nice to have a

type CodeWriter = (writer: Writer): void;

public indent(func: CodeWriter): void {

}

@mikemilla mikemilla merged commit b7f1df7 into main Jul 9, 2024
20 checks passed
@mikemilla mikemilla deleted the feature/sdk-template-generator branch July 9, 2024 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants