Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds a "never" expiration by utilizing 'null' FE and zero time BE #124

Conversation

viktorpenelski
Copy link
Contributor

This solves #92 by adding a "never" expire option, utilizing Go's "zero" time as a token treated as "never".

I have considered using nil instead, but the changes seemed uglier.
This solution could potentially be improved by implementing "Never" as a native types.ExpirationTime context rather than using types.ExpirationTime of time zero.

image

@github-actions
Copy link

github-actions bot commented Mar 23, 2022

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@viktorpenelski
Copy link
Contributor Author

I have read the CLA Document and I hereby sign the CLA

@viktorpenelski
Copy link
Contributor Author

closing this PR as I'll be updating #125 instead

@github-actions github-actions bot locked and limited conversation to collaborators Mar 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant