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
Describe the bug
When performing a regular BatchGet operation the order is broken (even with preserveBatchOrder: true).
The same goes for querying a KEYS_ONLY table using the hydrate: true option. The order is returned correctly when using includeKeys: true, ignoreOwnership: true but the hydration breaks the correct order. Which makes sense to me as it uses a BatchGet internally.
ElectroDB Version
Specify the version of ElectroDB you are using 2.14.0
Alright let me first finish this mega project I am working on right now and then I will get some playground to work that will recreate the issue.
Right now everything is fixed via workarounds so I am good.
Also note that I would be happy to become one of the maintainers / core maintainers of electrodb. I really love this framework, and I know what a pain you have to go through to get something that good on top of DynamoDB. I wrote a DynamoDB framework myself years ago and was quit happy with that until I heard of electrodb - then I switched haha.
If you see there any possibility just let me know @tywalch
Describe the bug
When performing a regular BatchGet operation the order is broken (even with
preserveBatchOrder: true
).The same goes for querying a KEYS_ONLY table using the
hydrate: true
option. The order is returned correctly when usingincludeKeys: true, ignoreOwnership: true
but the hydration breaks the correct order. Which makes sense to me as it uses a BatchGet internally.ElectroDB Version
Specify the version of ElectroDB you are using
2.14.0
Some example code (containing my workaround)
I confirmed this behaviour on multiple Entities and different scenarios, currently I use 6 workarounds like the one above.
The text was updated successfully, but these errors were encountered: