You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed different behavior between documents().import(, { action: "emplace" }) and documents().upsert(, { action: "emplace"}), with the latter working with the behavior of an upsert instead of update when a partial document is passed.
In src/Typesense/Documents.ts:220, the DocumentWriteParametersaction property is overwritten by the Object.assign call, negating the ability to pass an action to the upsert call.
Are all actions valid for the upsert call? Perhaps the line could be changed to