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

Resource validate #113

Merged
merged 4 commits into from
Jul 28, 2023
Merged

Resource validate #113

merged 4 commits into from
Jul 28, 2023

Conversation

SteveL-MSFT
Copy link
Member

PR Summary

Add initial support for new validate operation for DSC Resource Providers

PR Context

validate is optional for resources to handle custom validation instead of relying on JSON schema. It's intended for DSC Resource Providers which adapt a different resource type to the DSC v3 model. For example, PowerShell resources don't have JSON schema so would rely on the PowerShell Resource Provider to perform validation that the input matches what the resources expect.

dsc/src/main.rs Show resolved Hide resolved
@SteveL-MSFT SteveL-MSFT merged commit ce9a23a into PowerShell:main Jul 28, 2023
4 checks passed
@SteveL-MSFT SteveL-MSFT deleted the resource-validate branch July 28, 2023 04:22
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.

None yet

2 participants