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

Генератор camelCase псевдонимов для методов моделей #542

Closed
MarshalX opened this issue Oct 16, 2022 · 2 comments · Fixed by #543
Closed
Assignees
Labels
feature Новая функция или улучшение старой hacktoberfest https://hacktoberfest.com/

Comments

@MarshalX
Copy link
Owner

В проекте уже есть генератор асинхронного клиента. Уж больно лень писать псеводонимы ручками. Можно пройтись по аст всех файлов проекта и из нод объявления функций нагенерить псевдонимы. Пихнуть в конец каждого файла. Маркером выступает строка # camelCase псевдонимы. Поддержка больше чем одного класса в одном файле пока что не нужна

@MarshalX
Copy link
Owner Author

не вижу пока сильно необходимости в псевдонимах для de_json(), de_list() и т.д.
у to_dict() тоже их нет. Не видел чтобы кто-то это использовал

@MarshalX
Copy link
Owner Author

Результат запуска генератора: 9a08c6a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Новая функция или улучшение старой hacktoberfest https://hacktoberfest.com/
Projects
None yet
1 participant