Skip to content

If expiry was in epoch seconds, it may be out of the range of INT. #253

@koji-murata-spice

Description

@koji-murata-spice

Describe the bug

For description of the following file.
graphql_devise-0.17.1/lib/graphql_devise/types/credential_type.rb

field :expiry, Int, null: false
but when expiry is handled in epoch seconds, values after 2038/1/19 12:14:07 (2,147,483,647) are not available.

Also, even after applying the patch and changing the type of expiry to ID, it seems to cause a behavior problem in another place.
(I couldn't pinpoint the specific part that is adversely affected...)

Thank you in advance for your confirmation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs triageNeeds to be clasified by the mantiners

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions