microsoft / spring-data-cosmosdb

Access data with Azure Cosmos DB
MIT License
94 stars 64 forks source link

Standardize on either `collection` or `container` #492

Closed jmax01 closed 4 years ago

jmax01 commented 4 years ago

Standardize on either collection or container.

Example: currently both collectionName or containerName are used throughout the API for the values that are used by methods that return either CosmosContainers or CosmosSyncContainers

I would suggest standardizing on container over collection as that is terminology used in azure-cosmos.

kushagraThapar commented 4 years ago

Thanks for the suggestion @jmax01 We will standardize them to container throughout the SDK where breaking changes are not required. Regarding breaking changes, we can deprecate old APIs, and add new ones.

kushagraThapar commented 4 years ago

This has been released in spring-data-cosmosdb v2.2.3