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

Fix TSGen so it accounts for ctx when assigning argument names for services #1345

Closed
wants to merge 2 commits into from

Conversation

esimkowitz
Copy link
Member

Before, if a method in a service had context.Context as its first argument, the argument names that were generated in services.ts would be off by one index. Now, the offset can be moved when we skip an argument such as context in the generator.

@esimkowitz esimkowitz marked this pull request as draft November 22, 2024 18:55
@esimkowitz esimkowitz closed this Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant