Skip to content

YamlIgnore condition missing #146

Description

@bdovaz

I see that the premise is that the API is the same as that of System.Text.Json, but I notice that it doesn't include the Condition property:

System.Text.Json.JsonIgnoreAttribute:

https://github.com/dotnet/runtime/blob/b82454cad0aaaae3db2cf18fbf2cccc36e201ccc/src/libraries/System.Text.Json/src/System/Text/Json/Serialization/Attributes/JsonIgnoreAttribute.cs#L16

SharpYaml.Serialization.YamlIgnoreAttribute:

public sealed class YamlIgnoreAttribute : YamlAttribute

As a workaround, since it's compatible with the System.Text.Json API, I'm using JsonIgnore, but it's not ideal.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions