algolia / algolia/mongoolia

Inconsistent behavior with mongoose 5

Open
#5 7 comments 0 reactions 0 assignees View on GitHub
hacktoberfest
Dominant language
JavaScript
Stars
61
Forks
12
PR merge metrics
No merged PRs in 30d

Description

I am running mongoolia with mongoose `5.2.8`. `syncWithAlgolia()` works fine some times, other times it errors with `doc.pushToAlgolia is not a function` reproduction here: https://github.com/bakery/algolia-mongoose-5

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the linked reproduction at https://github.com/bakery/algolia-mongoose-5 and exercise syncWithAlgolia() using mongoose 5.2.8. Compare the successful and failing cases, focusing on when doc.pushToAlgolia is unavailable. Done means the reported inconsistent behavior is reproducible, explained, and no longer produces that error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, mongodb
Domain
backend, databases, search
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.