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 configuration validation during parsing #59

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

FabienTschanz
Copy link
Contributor

This PR adds validation of the ParseErrors when running ParseInput on the supplied content in ConvertTo-DSCObject while ignoring errors about the Microsoft365DSC module in version XYZ not being present and that a resource in the configuration is not defined. This is done to ensure that even "outdated" configurations can still be parsed even though a newer version of Microsoft365DSC already exists.

To not break the flow, it only outputs a warning message stating that the configuration contains errors and which part of the configuration contains the error. No throw statement is included.

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