-
Notifications
You must be signed in to change notification settings - Fork 2
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
Range validation enhancement #1
base: master
Are you sure you want to change the base?
Conversation
If it takes over 2 months for an RFC to get merged I can see people not even bothering. It would be far quicker to simply have written the change and done a PR against revel. |
@notzippy This requires too much mental work. Revel is far from release and agile like workflow would fit better than USSR style bureaucracy IMO. As for the validators. Currently they do not work with int64, right? What if I need it? |
@brendensoares I said this before, let's allow Revel to evolve naturally. PRs from community are more important than attempts to meet expectations of those who complain about like "Revel's not following Golang way" and stuff like that. We should not care about those who would not use the framework anyway. So, let's identify our own Revel way. What is it about? Productivity, scalability, low learning curve? Something else? And work to make these aspects of framework stronger. We do not need to moduralize the codebase ASAP. There are many users who do not care about that aspect. What do you think, @pedromorgan, @notzippy? We can go on developing everything by evolution rather than revolution. And when we have enough info and clear vision we can even rewrite some components from scratch (if we feel like it). But only when we have clear vision and we really need it. Not just to meet some abstract golang way. Conclusion: let's focus on bringing invaluable tool to those developers for whom Destination is more important than a Journey, for those who need to solve their everyday tasks rather than meditate on the idea of how enlightened and smart they are so they can use the minimal 100% modular 0 overhead 1 bit less memory consumption fully golang way solution (there are many other Go frameworks / toolkits for them). |
@AnonX Yes.. feels like this project is stalling.. needs more release often.. with minor increments.. Master is way outta scope compared to develop.. so next change is a major "break" imho |
@AnonX I understand your perspective. RFC's are intended to make Revel safe from bad decisions, not to make Revel bureaucratic. We still accept PRs for obvious bugs and minor changes. Quoting from this repo's
That said, I think this RFC repo and workflow are going to be very beneficial. @notzippy merging should happen very quickly. Refining and completing the RFC will take a bit longer to reach consensus. I haven't merged this yet, because I was hoping for some input from you and @AnonX and anyone else who wants to chime in to help define a workflow. No one actually answered my question:
So I'll merge it now so we can make forward progress. We'll refine the workflow as we go. |
Looking at the TODO
Now it's time to build consensus and refine this PR. |
I believe @AnonX opinion was this was missing the ability to handle int64 objects,
A float can only carry 15 significant digits and an int can carry 19 significant digits. This leaves a discrepancy between the two so checking an int64 using a float checker with 0 precision will not be accurate with numbers over 999,999,999,999,999 or less then -999,999,999,999,999 . |
@brendensoares 14 days ago here: #1 (comment) |
@AnonX I see.
So let's include |
@notzippy we came to the conclusion on our team meeting that this feature really doesn't require an RFC. Agreed? We should just make the change. Right? |
SGTM 👍 |
@notzippy do we have a PR for this though? |
Reference revel/revel#760