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

Support name, prefix and suffix in annotation #6

Closed
StefMa opened this issue Mar 30, 2018 · 0 comments
Closed

Support name, prefix and suffix in annotation #6

StefMa opened this issue Mar 30, 2018 · 0 comments

Comments

@StefMa
Copy link
Owner

StefMa commented Mar 30, 2018

It should be possible to have something like

@UseCase(name = "MyAwesomeUseCase")
GetUserUserCase

This will create a
typealias MyAwesomeUseCase = ...
instead of the "default naming" (GetUser).

Additionally we should provide

@UseCase(prefix = "Generated") == GeneratedGetUserUseCase
@UseCase(suffix = "TypeAlias") == GetUserUseCaseTypeAlias

The prefix and suffix can be combined. But if the name is set it will be used as default...

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

1 participant