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 for type hints #69

Open
eterey opened this issue Nov 4, 2020 · 0 comments
Open

Support for type hints #69

eterey opened this issue Nov 4, 2020 · 0 comments

Comments

@eterey
Copy link
Owner

eterey commented Nov 4, 2020

Provide the ability to validate input/output values base on type hints. It's possible to use inspect.signature, typing.get_origin(), typing.get_args(), etc for retrieving information about type hints.

We'll need to create decorator, which analyzes type hints, generates the set of rules base in the hints and validates input/output data agaisnt these rules.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant