Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Standardize store naming: Connection/Context/Category #276

Merged
merged 4 commits into from
Feb 24, 2021

Conversation

bartelink
Copy link
Collaborator

@bartelink bartelink commented Feb 20, 2021

As part of realignment given we are entering V3 and have an opportunity to do some light breaking chances, this PR aligns the naming of top level objects with that used in Equinox.CosmosStore

The key changes are:

  • Resolver becomes <StoreName>Category, which seems to work well
  • Names of top level objects in the API become prefixed by the store name per Cosmos -> CosmosStore and related renames #216, i.e. Equinox.EventStore.Context becomes Equinox.EventStore.EventStoreContext. This convention is established by the Azure.Core SDK guidelines and will flow to the Azure.Cosmos V4 SDK in due course (i.e. Microsoft.Azure.Cosmos.Client will become Azure.Cosmos.CosmosClient etc)
  • rename <StoreName>Connection to <StoreName>Client (had been considering leaving it at Connection but EventStoreDB's GRPC client follows that naming too so it all makes sense now) reverted - better to reserve the term Client for the actual ESDB or Cosmos Client, and have <StoreName>Connection be the wrapper for it.

@bartelink bartelink changed the title Standardize store naming: Connection/Context/Category Standardize store naming: Client/Context/Category Feb 20, 2021
@bartelink bartelink changed the title Standardize store naming: Client/Context/Category Standardize store naming: Connection/Context/Category Feb 20, 2021
@bartelink bartelink marked this pull request as ready for review February 20, 2021 16:29
@bartelink bartelink force-pushed the naming-consistency branch 2 times, most recently from 0c98038 to 5f9ef31 Compare February 24, 2021 02:04
@bartelink bartelink merged commit 6ef1a99 into master Feb 24, 2021
@bartelink bartelink deleted the naming-consistency branch February 24, 2021 02:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant