Skip to content

[v2] Some type issues and a suggestion #4821

@SomeoneIsWorking

Description

@SomeoneIsWorking

Types like url.URL, time.Time don't have any handlers and I don't think there is any option to add custom handlers.
Also there is an issue, let's say I add `json:"-"` which excludes it from the model just fine BUT it still adds its type to the model. I excluded all url.URL and URL type was still in models.ts even though nothing was referencing it.

So this one request about custom handlers so for example we can create a handler that serializes url.URL to string and deserializes back.
And a bug report about model generation.

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