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

[BUG]: Wrong comments in generated code #132

Open
jon4hz opened this issue Jul 15, 2022 · 1 comment
Open

[BUG]: Wrong comments in generated code #132

jon4hz opened this issue Jul 15, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@jon4hz
Copy link

jon4hz commented Jul 15, 2022

Description

All methods in telegram/methods_gen.go have the same comment Sends a Telegram Passport authorization form, effectively sharing data with the service.

It's already hard enough to use this library as it is but having no actual comments about what certain methods do makes it even harder. And always having to search the exact method in the telegram api specs is kinda annoying. Aren't there descriptions of the methods in the .tl files which can be adopted?

@jon4hz jon4hz added the bug Something isn't working label Jul 15, 2022
@ernado
Copy link

ernado commented Jul 19, 2022

There are no description in .tl, but it is possible to parse documentation and inject comments like it is done with gotd/getdoc in gotd.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants