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

fix(specs): remove unretrievableAttributes from searchParams #988

Merged
merged 1 commit into from
Sep 8, 2022

Conversation

loicsay
Copy link
Contributor

@loicsay loicsay commented Sep 8, 2022

🧭 What and Why

🎟 JIRA Ticket:

Changes included:

  • move unretrievableAttributes from search params to base index settings

🧪 Test

@loicsay loicsay requested a review from a team as a code owner September 8, 2022 09:11
@netlify
Copy link

netlify bot commented Sep 8, 2022

Deploy Preview for api-clients-automation canceled.

Name Link
🔨 Latest commit 83949da
🔍 Latest deploy log https://app.netlify.com/sites/api-clients-automation/deploys/6319bd78173f9f00090a82c8

@loicsay loicsay self-assigned this Sep 8, 2022
@algolia-bot
Copy link
Collaborator

algolia-bot commented Sep 8, 2022

✗ The generated branch has been deleted.

If the PR has been merged, you can check the generated code on the main branch.
You can still access the code generated on main via this commit.

@shortcuts shortcuts changed the title fix: remove unretrievableAttributes from searchParams fix(specs): remove unretrievableAttributes from searchParams Sep 8, 2022
@loicsay loicsay changed the title fix(specs): remove unretrievableAttributes from searchParams fix(schemas): remove unretrievableAttributes from searchParams Sep 8, 2022
@loicsay loicsay changed the title fix(schemas): remove unretrievableAttributes from searchParams fix(specs): remove unretrievableAttributes from searchParams Sep 8, 2022
Copy link
Member

@shortcuts shortcuts left a comment

Choose a reason for hiding this comment

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

Thanks! Just a test update missing :)

@loicsay loicsay force-pushed the fix/unretrievable-attributes branch 2 times, most recently from 938ff89 to 6b54763 Compare September 8, 2022 09:51
@@ -62,8 +62,8 @@ Read the guides and requirements to:

Test the generated clients by running:

- The [`playground`](./playground) (see [documentation](https://api-clients-automation.netlify.app/docs/contributing/testing/playground.md))
- The [`Common Test Suite`](./tests/) (see [documentation](https://api-clients-automation.netlify.app/docs/contributing/testing/common-test-suite.md)).
- The [`playground`](./playground) (see [documentation](https://api-clients-automation.netlify.app/docs/contributing/testing/playground))
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not sure if it was an error in purpose @shortcuts ? 🙇

Copy link
Member

Choose a reason for hiding this comment

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

oops good catch ty :)

@@ -62,8 +62,8 @@ Read the guides and requirements to:

Test the generated clients by running:

- The [`playground`](./playground) (see [documentation](https://api-clients-automation.netlify.app/docs/contributing/testing/playground.md))
- The [`Common Test Suite`](./tests/) (see [documentation](https://api-clients-automation.netlify.app/docs/contributing/testing/common-test-suite.md)).
- The [`playground`](./playground) (see [documentation](https://api-clients-automation.netlify.app/docs/contributing/testing/playground))
Copy link
Member

Choose a reason for hiding this comment

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

oops good catch ty :)

@@ -233,9 +233,6 @@
"attributesForFaceting": [
"algolia"
],
"unretrievableAttributes": [
Copy link
Member

Choose a reason for hiding this comment

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

actually setSettings should not change, it's still an index setting, but this test should not include it anymore, since it's not a searchParams

Copy link
Contributor Author

Choose a reason for hiding this comment

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

oops, wrong one! thanks 🙏

Copy link
Member

@shortcuts shortcuts left a comment

Choose a reason for hiding this comment

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

This should be correct! Thanks for the fixes :D

@shortcuts shortcuts enabled auto-merge (squash) September 8, 2022 10:02
@shortcuts
Copy link
Member

(I'll release once merged on main)

@shortcuts shortcuts merged commit 27ee237 into main Sep 8, 2022
@shortcuts shortcuts deleted the fix/unretrievable-attributes branch September 8, 2022 10:10
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