Implement property hint string annotations
chippmann opened this issue · 1 comments
Describe the problem or limitation you are having in your project:
With this a user won't have to write error prone property hint strings like this anymore: 0,100000,1000,or_greater
Describe how this feature / enhancement will help you overcome this problem or limitation:
The usability of the registration system would be much improved when using property hint strings
Show a mock up screenshots/video or a flow diagram explaining how your proposal will work:
We could define annotations like @HintRange(start = 0, end = 1000, step = 2)
which would provide typesafety
Describe implementation detail for your proposal (in code), if possible:
None to provide atm.
If this enhancement will not be used often, can it be worked around with a few lines of code?:
Yes. We could still force the user to use type strings. But it's errorprone.
Is there a reason why this should be in this project and not individually solved?:
Annotations and the entry generating process are both part of the core project.
Closed in favor of individual issues