| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
please review |
Sorry, something went wrong.
|
great, thank you so much. |
Sorry, something went wrong.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Change Summary
This adds support for Decimal-specific configs, that would only be supported with condecimal(), in Field().
I want this in particular here to then be able to also support it in SQLModel. 🤓
This means that an example like this:
could also be written like this:
The main advantage is that editors and tools can provide better support when the type is static and not the return of a function (that works at runtime, but tools struggle with it during static analysis, etc).
E.g. the autocompletion for condecimal:
And the autocompletion for the new alternative:
Related issue number
Checklist
(see changes/README.md for details)