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

Change stream_name type #31

Merged
merged 1 commit into from
Aug 14, 2022
Merged

Conversation

trueleo
Copy link
Contributor

@trueleo trueleo commented Aug 14, 2022

Description

This PR changes stream_name argument type for metadata::STREAM_INFO::schema, metadata::STREAM_INFO::alert and metadata::STREAM_INFO::delete_stream

Both of these methods use stream_name argument only for lookup and not for storing of any kind so it is alright for them to be of borrow type. This allows for removal of some unnecessary cloning.


Copy link
Member

@nitisht nitisht left a comment

Choose a reason for hiding this comment

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

Looking good!

@nitisht nitisht merged commit 3a9a7f5 into parseablehq:main Aug 14, 2022
@trueleo trueleo deleted the metadata_sig_change branch August 14, 2022 14:51
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.

2 participants