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

add value validation for all insert functions #1

Open
fisher-j opened this issue Feb 2, 2023 · 0 comments
Open

add value validation for all insert functions #1

fisher-j opened this issue Feb 2, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@fisher-j
Copy link
Owner

fisher-j commented Feb 2, 2023

I'm envisioning a modular system where argument names and values are supplied to a single function that checks the value for each if it has a corresponding value checking function and raises an appropriate exception or messagebox if a problem is found. Once it is set up it can be added to each of the inserter functions via decorator, or adding it as a call within the function.

It might be best to implement as a regular call, because inserter functions might do some pre-processing before creating an insert query.

@fisher-j fisher-j added the enhancement New feature or request label Feb 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant