Skip to content

feat: support tuple structs #213

@joshmossas

Description

@joshmossas

It would be cool if there was a way to support tuple struct so that something like this

#[derive(Exported)]
pub struct Email(pub String);

could became

{
  "type": "string"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    draftIndicated that the issue is not ready and still needs to be worked on before implementingenhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions