-
Notifications
You must be signed in to change notification settings - Fork 831
Introduce type converter for DataClassification #5887
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
...crosoft.Extensions.Compliance.Abstractions/Classification/DataClassificationTypeConverter.cs
Outdated
Show resolved
Hide resolved
I'll add the experimental attribute to proper locations |
🎉 Good job! The coverage increased 🎉
Full code coverage report: https://dev.azure.com/dnceng-public/public/_build/results?buildId=954586&view=codecoverage-tab |
🎉 Good job! The coverage increased 🎉
Full code coverage report: https://dev.azure.com/dnceng-public/public/_build/results?buildId=954733&view=codecoverage-tab |
🎉 Good job! The coverage increased 🎉
Full code coverage report: https://dev.azure.com/dnceng-public/public/_build/results?buildId=954738&view=codecoverage-tab |
...ensions.Compliance.Abstractions.Tests/Classification/DataClassificationTypeConverterTests.cs
Show resolved
Hide resolved
🎉 Good job! The coverage increased 🎉
Full code coverage report: https://dev.azure.com/dnceng-public/public/_build/results?buildId=955108&view=codecoverage-tab |
🎉 Good job! The coverage increased 🎉
Full code coverage report: https://dev.azure.com/dnceng-public/public/_build/results?buildId=955658&view=codecoverage-tab |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
still needing one more owner approval |
This pull request introduces a new type converter for the
DataClassification
struct and includes corresponding tests to ensure its functionality. The most important changes include the addition of theDataClassificationTypeConverter
class, the integration of this converter into theDataClassification
struct, and the creation of unit tests to validate the converter's behavior.This improves the
DataClassification
type by allowing it to be bound from configuration files, enhancing the flexibility and usability of the struct in various scenarios.Microsoft Reviewers: Open in CodeFlow