-
Notifications
You must be signed in to change notification settings - Fork 7
Feat force option for oppossum file #182
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
Conversation
5073ac6
to
b300414
Compare
tbh, i don't really see the value of this option. what's the problem with silently dropping the output file? |
I think having the error is more defensive. Someone might think that the conversion of opossum -> opossum should be essentially a no-op and that is partially true. It is wrong when there is a output.json because that information just gets destroyed. |
b300414
to
b4e3eb1
Compare
Generated using datamodel-code-generator
* opossum file:= input.json + output.json * The output path is not yet used
Note: To make this work in all the tests the mypy pydantic plugin needed to be included
* Reason for ignoring typing * Creating the invalid structure is temporary * It is explicitly revalidated afterward * For testing, explicitly invalid structures are created
opossum file parsing #49 there is the desire to add a --force or similar option to just ignore the output.json file in this case