Skip to content

Id and PartitionKey properties are missing on ChangeFeedMetadata class #4933

@JensSchadron

Description

@JensSchadron

We are continuously addressing and improving the SDK, if possible, make sure the problem persist in the latest SDK version.

Describe the bug
When using the full fidelity change feed mode (AllVersionsAndDeletions), I'm using the ChangeFeedItem<T> wrapper class to receive either the creation, update or deletion of the a document. However, upon deletion, I should be able to receive the id and partitionkey of the deleted document in the ChangeFeedMetadata property as stated in the docs. (https://learn.microsoft.com/en-us/azure/cosmos-db/nosql/change-feed-modes?tabs=all-versions-and-deletes#parse-the-response-object-1) However, those 2 specific properties are missing on the object.

To Reproduce

  1. Set up an AllVersionsAndDeletions changefeed
  2. Delete a document from the collection being observed by the changefeed
  3. Observe ChangeFeedMetadata property of ChangeFeedItem for the deleted document

Expected behavior
I can use the id and partitionkey properties from the ChangeFeedMetadata class.

Actual behavior
The 2 mentioned properties are missing.

Environment summary
SDK Version: 3.47.0-preview.0

Additional context
N/A

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions