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

Allow properties to be included even when they are the default value #1141

Merged
merged 5 commits into from
Mar 7, 2024

Conversation

JustASquid
Copy link
Contributor

Resolves #1140

Haven't added documentation yet, awaiting approval on the API.
Right now this only allows granularity on the type level; if relevant we could add the other levels of granularity similar to ignore/scrubbing - want to get the basic API approved first.

… even when they are equal to their default value.
@JustASquid JustASquid changed the title Allow properties to be included even when Allow properties to be included even when they are the default value Feb 7, 2024
@JustASquid
Copy link
Contributor Author

@dotnet-policy-service agree company="ACT Building Systems"

@SimonCropp
Copy link
Member

@JustASquid i am happy with the API. can you add some documentation for the feature

@SimonCropp
Copy link
Member

oh. also the test is duplicated into the StrictJsonTests. so u need to accept the result from that project as well

@JustASquid
Copy link
Contributor Author

Thanks @SimonCropp I was going to ask why the tests were failing - that makes sense.

I will add some documentation ASAP.

@SimonCropp SimonCropp added this to the 23.3.0 milestone Mar 7, 2024
@SimonCropp SimonCropp merged commit 09c6466 into VerifyTests:main Mar 7, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Add a way to include properties which are equal to their default value
2 participants