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

remove Frame::None #1046

Merged
merged 1 commit into from
Feb 15, 2023
Merged

remove Frame::None #1046

merged 1 commit into from
Feb 15, 2023

Conversation

conorbros
Copy link
Member

I think this was originally intended to mean "null" of redis frame but it's prevalence has gone beyond the scope of that. We can just use RedisFrame::Null.

@conorbros conorbros changed the title remove frame::none remove Frame::None Feb 14, 2023
Copy link
Member

@rukai rukai left a comment

Choose a reason for hiding this comment

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

Nice catch!

I think that, semantically, Frame::None makes a bit more sense than Frame::Redis(RedisFrame::Null) in redis/sink_cluster.rs
As it conveys the lack of a message rather than a null redis message.
But Frame::Redis(RedisFrame::Null) does work just fine here, so I'm more than happy to make the swap here to allow us to remove Frame::Null

@conorbros conorbros merged commit 66897b8 into shotover:main Feb 15, 2023
@conorbros conorbros deleted the remove-frame-none branch February 15, 2023 02:16
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.

3 participants