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

Added ability get defaults index settings #2115

Merged

Conversation

krasilnikovm
Copy link
Contributor

No description provided.

Copy link
Collaborator

@deguif deguif left a comment

Choose a reason for hiding this comment

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

@krasilnikovm thanks for this contribution.
Could you add a test to cover this new feature?

@krasilnikovm
Copy link
Contributor Author

@deguif I'll add

@krasilnikovm krasilnikovm force-pushed the add-ability-fetch-defaults-index-settings branch from e4ee8b1 to 109a2b3 Compare August 17, 2022 06:00
@krasilnikovm
Copy link
Contributor Author

@deguif I added a tests, please take a look

@ruflin
Copy link
Owner

ruflin commented Aug 17, 2022

@krasilnikovm Could you add a changelog entry. I did approve the CI run. Thanks for your contribution!

@krasilnikovm krasilnikovm force-pushed the add-ability-fetch-defaults-index-settings branch 2 times, most recently from 1f71cc4 to 080641e Compare August 17, 2022 07:32
tests/Index/SettingsTest.php Outdated Show resolved Hide resolved
tests/Index/SettingsTest.php Outdated Show resolved Hide resolved
@krasilnikovm krasilnikovm force-pushed the add-ability-fetch-defaults-index-settings branch from 080641e to 5904f82 Compare August 17, 2022 08:37
$requestData = $this->request()->getData();
$queryParameters = [
'include_defaults' => $includeDefaults,
];
Copy link
Owner

Choose a reason for hiding this comment

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

Surprised by this codecov comment as I think this part is covered in the tests. Maybe codecov is confused by the ] 🤷

@ruflin ruflin merged commit a996872 into ruflin:master Aug 18, 2022
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.

None yet

3 participants