Skip to content

Skipping Options and setting ToStringFromat breaks code generation #33

@slimshader

Description

@slimshader

Hi,

when a struct is defined like this:

[UnitOf(typeof(string),  ToStringFormat = "null")]
public partial struct ProjectId

meaing it skips Options paramater, then no code is generated for the rest of the partial type, fix is to explicitly define options as None:

[UnitOf(typeof(string), UnitGenerateOptions.None, ToStringFormat = "null")]
public partial struct ProjectId

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions