Open pmottmwi opened 1 month ago
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @kushagraThapar @pjohari-ms @TheovanKraay.
@trande4884 please take a look at this issue, thanks!
This also affects deleting entities, which is harder to work around (managed to get around the saveAll problem by saving the entities one at a time).
Describe the bug Spring Cosmos library fails to retrieve partition key value from entity if that field is inherited from a different class.
Exception or Stack Trace
To Reproduce Call
CosmosRepository.saveAll
passing in entity from code snippet.Code Snippet
Expected behavior Correct partition key value should be retrieved pulled from the entity.
Setup (please complete the following information):