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

Would you be willing to make lowercased aliases for the decorators? #38

Closed
Evertt opened this issue Jan 27, 2017 · 1 comment
Closed

Comments

@Evertt
Copy link

Evertt commented Jan 27, 2017

My personal preference is to have class-decorators like @Component capitalized (because class-names are also capitalized) and all other decorators uncapitalized (because property- and method-names are also uncapitalized).

Different developers / companies prefer different styles. If you'd be willing to export every decorator in both its capitalized form and its uncapitalized form then the developer using your library can import whichever fits his style the best.

@HerringtonDarkholme
Copy link
Owner

Adding your own alias is trivial.

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

No branches or pull requests

2 participants