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

Drop duration type #212

Merged
merged 2 commits into from
Sep 28, 2020
Merged

Drop duration type #212

merged 2 commits into from
Sep 28, 2020

Conversation

asdine
Copy link
Collaborator

@asdine asdine commented Sep 28, 2020

The duration type was there from the beginning as a way to test multiple types. It doesn't really make sense to keep it now as INTEGER can do the job.
Passing a duration as a parameter, in document.NewValue or document.NewFromStruct will convert it to an INTEGER.

@asdine asdine added this to the v0.9.0 milestone Sep 28, 2020
@asdine asdine merged commit 988a11e into master Sep 28, 2020
@asdine asdine deleted the delete-duration branch September 28, 2020 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant