Skip to content

No longer can set Alias for property like this: [YamlMember(Alias = "$ref")] #93

@BuzzyLizzy

Description

@BuzzyLizzy

I switched over from YamlDotNet to SharpYaml to investigate shortcomings of YamlDotNet is improved, but I can no longer set the Alias for a property in an object I declared as I did with YamlDotNet, like this:

    public class MessageObjectRef : IMessageObject {
        [YamlMember(Alias = "$ref")]
        public string Ref { get; set; }
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions