Skip to content

Response Date type is received as string #104

@dandeduck

Description

@dandeduck

I have an endpoint which returns an object containing a Date field, eden displays the expected response correctly with Date so there are no TS errors. But during runtime, the field is actually a string.

Of course it makes sense because the JSON body can't contain Date fields, but if the intellisense is telling me that, I should receive a Date. It's still broken.

Ideally eden would have some process to fix this issue and convert the string to a Date, another solution would be for eden to interpret Dates as strings...

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