Skip to content

"Missing partition key kind in the partition key path policy" - cannot use single prop partition key #1342

@murbanowicz

Description

@murbanowicz

With the latest version of the library and latest Cosmos SDK it is impossible to use simple partition key at all.

// throws "Missing partition key kind in the partition key path policy" in runtime

@CosmosPartitionKey('userId')
class TestDto {
  userId: string;
  dummy: string;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions