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
Operator based BaseMetadata
creation
#28
Comments
Ooh, I really like this idea! It's going to be a little tricky to implement support for chained comparisons and |
Awesome idea, thanks @hanjinliu. I'll review the PR now. |
Thank you all for the consideration! Looking forward to seeing it. |
Per #30, this sadly seems too complex and edge-case-prone to support for now. Nonetheless, we really appreciate your contribution of design feedback 🙏- thanks! |
Hi all,
I really like the idea of
BaseMetadata
to formulateAnnotated
types.However, configuration using functions such as
Gt(10)
is not as easy asx > 10
to read. It would be nice to provide a non-constraint classAll
and support methods such as__gt__
like below.Similar logic can by applied to construct several objects.
Interval
from2 < X < 5
MultipleOf
fromX % 3 == 0
MaxLen
fromX.len() <= 10
The text was updated successfully, but these errors were encountered: