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

Rename CombineTimestamp to CreateTimestamped #1941

Merged
merged 2 commits into from
Aug 1, 2024

Conversation

glopesdev
Copy link
Member

@glopesdev glopesdev commented Jul 30, 2024

The CombineTimestamp operator was introduced in one of the earliest releases of the language as a way to create timestamped values dynamically from pairs of values and timestamps. As a consequence of this early development, the naming of this operator does not follow current naming conventions.

This PR refactors CombineTimestamp into the new CreateTimestamped operator, for consistency with other creation operators and with CreateTimestamped used in the Harp package. Core proxy types have been leveraged to allow for automatic conversion of old workflows and the original type has been marked with the [Obsolete] attribute.

Fixes #1518

@glopesdev glopesdev added feature New planned feature fix Pull request that fixes an issue labels Jul 30, 2024
@glopesdev glopesdev added this to the 2.9 milestone Jul 30, 2024
Copy link
Contributor

@bruno-f-cruz bruno-f-cruz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check the minor comment.

Bonsai.Core/Reactive/CreateTimestamped.cs Outdated Show resolved Hide resolved
@glopesdev glopesdev merged commit 2fd6474 into bonsai-rx:main Aug 1, 2024
10 checks passed
@glopesdev glopesdev deleted the issue-1518 branch August 1, 2024 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New planned feature fix Pull request that fixes an issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Consider renaming CombineTimestamp to CreateTimestamped
3 participants