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

Validate input #11

Merged
merged 2 commits into from
Jul 15, 2024
Merged

Validate input #11

merged 2 commits into from
Jul 15, 2024

Conversation

lyashevska
Copy link
Owner

Input validation with validator field and jinja expressions.

@lyashevska
Copy link
Owner Author

There are differenet ways to achieve this functionality, current approach seems to be the most simple one. Please also refer to copier-org/copier#716

@lyashevska
Copy link
Owner Author

This approach differs from the pre_gen_project.py hook. User is asked to enter variables that meet requirements, instead of rendering variable after.

@lyashevska lyashevska merged commit 3113ab1 into main Jul 15, 2024
1 of 16 checks passed
@lyashevska lyashevska deleted the 9-input-validation branch July 15, 2024 10:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant