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

MAGE-1170: Handle Index options with IndexNameFetcher #1668

Open
wants to merge 3 commits into
base: release/3.15.0-dev
Choose a base branch
from

Conversation

damcou
Copy link
Contributor

@damcou damcou commented Jan 10, 2025

This PR contains:

  • Added an IndexOptions model implementing IndexOptionsInterface which would be the component of every index operation coming to AlgoliaConnector in the future
  • Updated the deprecated AlgoliaHelper class to convert all calls to the new format including IndexOptions model
  • Updated the AlgoliaConnector class so it fetches all index names according to the InderNameFetcher service
  • Removed all the static methods in AlgoliaConnector to be able to use the IndexNameFetcher everywhere, notably in the setLastOperationInfo methid

@damcou damcou requested a review from cammonro January 10, 2025 10:30
@damcou damcou self-assigned this Jan 10, 2025
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.

1 participant