Skip to content

[Fix] Algoliax.Indexer.reindex/1 and Algoliax.Indexer.reindex/2 types - #148

Merged
davidjulien merged 1 commit into
WTTJ:mainfrom
fartek:fix/indexer-reindex-types
Sep 17, 2026
Merged

davidjulien merged 1 commit into
WTTJ:mainfrom
fartek:fix/indexer-reindex-types

Conversation

@fartek

@fartek fartek commented Nov 17, 2025

Copy link
Copy Markdown
Contributor

Hey 👋
We're using Algoliax at our company (thank you for creating it!!), and while using Hammox for testing I've noticed that the reindex/1 and reindex/2 callbacks on Algoliax.Indexer have the wrong typespecs.

Each list item is actually an ok-tuple, not just the item directly.

You can see in your tests that you assert the same structure: https://github.com/WTTJ/algoliax/blob/main/test/algoliax/schema_test.exs#L175

@fartek
fartek requested a review from a team as a code owner November 17, 2025 11:28
@davidjulien
davidjulien force-pushed the fix/indexer-reindex-types branch from 7fd01fb to 38fe6b9 Compare September 17, 2026 11:55

@davidjulien davidjulien left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thank you for your patience @fartek.

@davidjulien
davidjulien merged commit 3b29284 into WTTJ:main Sep 17, 2026
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.

2 participants