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

[Merged by Bors] - fix(stream_model): prevent collisions between namespaces #2539

Closed
wants to merge 6 commits into from

Conversation

nacardin
Copy link
Contributor

@nacardin nacardin commented Aug 4, 2022

No description provided.

@nacardin nacardin requested review from morenol and simlay August 4, 2022 23:40
@@ -163,11 +163,13 @@ pub trait K8ExtendedSpec: Spec {

fn convert_from_k8(
k8_obj: K8Obj<Self::K8Spec>,
multi_namespace_context: bool,
) -> Result<MetadataStoreObject<Self, K8MetaItem>, K8ConvertError<Self::K8Spec>>;
}

pub fn default_convert_from_k8<S>(
Copy link
Contributor

Choose a reason for hiding this comment

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

I think that we should add some references to the way that we should use fluvio_stream_dispatcher::store::StoreContext when using multiple namespaces for all the methods that have key: S::IndexKey as a parameter. Maybe as docstrings?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

added docstring to default_convert_from_k8

@nacardin nacardin marked this pull request as ready for review August 5, 2022 13:52
@nacardin
Copy link
Contributor Author

nacardin commented Aug 5, 2022

bors r+

bors bot pushed a commit that referenced this pull request Aug 5, 2022
Co-authored-by: Nick Cardin <nick@cardin.email>
@bors
Copy link

bors bot commented Aug 5, 2022

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title fix(stream_model): prevent collisions between namespaces [Merged by Bors] - fix(stream_model): prevent collisions between namespaces Aug 5, 2022
@bors bors bot closed this Aug 5, 2022
@sehz
Copy link
Contributor

sehz commented Aug 5, 2022

Can you add more description to this PR? Or should this have an associated issue describing API changes would intendend

@sehz sehz added this to the 0.9.33 milestone Aug 5, 2022
@sehz
Copy link
Contributor

sehz commented Aug 5, 2022

This is probably not fix since this is not bug fix

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.

4 participants