Skip to content

When passing the empty string to Date Type, it occurs string index out of range error #1528

Closed
@KaniKim

Description

@KaniKim

Discussed in #1527

Originally posted by KaniKim July 4, 2024
스크린샷 2024-07-04 오후 5 56 58
스크린샷 2024-07-04 오후 5 54 50

When I passed a empty string to Date Field, It occurs GraphQL 400 error, with message, "IndexError: string index out of range"
And then I found that aniso8601 module occurs this error. Are there any solutions to prevent this one?

Well, I can just pass a null to Date, but I think there is more improvement to this packages.

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