Skip to content

Make SourceToParse immutable #36971

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
merged 2 commits into from
Dec 24, 2018
Merged

Make SourceToParse immutable #36971

merged 2 commits into from
Dec 24, 2018

Conversation

dnhatn
Copy link
Member

@dnhatn dnhatn commented Dec 24, 2018

Today the routing of a SourceToParse is assigned in a separate step after the object is created. We can easily forget to set the routing. With this commit, the routing must be provided in a ctor of SourceToParse.

Today the routing of a SourceToParse is assigned in a separate step
after the object is created. We can easily forget to set the routing.
With this commit, the routing must be provided in a ctor of
SourceToParse.
@dnhatn dnhatn added >enhancement :Search Foundations/Mapping Index mappings, including merging and defining field types v7.0.0 v6.7.0 labels Dec 24, 2018
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-search

@dnhatn
Copy link
Member Author

dnhatn commented Dec 24, 2018

Thanks @ywelsch for reviewing.

@dnhatn dnhatn merged commit 7580d9d into elastic:master Dec 24, 2018
@dnhatn dnhatn deleted the source_to_parse branch December 24, 2018 19:06
@jimczi jimczi added v7.0.0-beta1 and removed v7.0.0 labels Feb 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>enhancement :Search Foundations/Mapping Index mappings, including merging and defining field types v7.0.0-beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants