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

Should simpleinventory/yamlinventory ensure that the data field is always a dictionary #26

Open
ktbyers opened this issue Feb 2, 2022 · 1 comment

Comments

@ktbyers
Copy link
Contributor

ktbyers commented Feb 2, 2022

Someone tried to use a list directly under the data field and it caused all sorts of pain.

We probably should enforce this as a dictionary.

@dbarrosop
Copy link
Contributor

Yeah, probably even start using pydantic again to validate user input

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

No branches or pull requests

2 participants