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

Cosmos DB: update to 2019 12 and add interface #994

Merged
merged 16 commits into from
Mar 5, 2020
Merged

Conversation

ChenTanyi
Copy link
Contributor

close #991

@ChenTanyi ChenTanyi merged commit 5ca9dab into master Mar 5, 2020
@ChenTanyi ChenTanyi deleted the cosmos-update branch March 5, 2020 05:07
Copy link
Member

@weidongxu-microsoft weidongxu-microsoft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See inline comments.

location.FailoverPriority = i;
location.LocationName = policyInner.LocationName;
locations.Add(location);
failoverPolicies[i].FailoverPriority = i;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just ask, priority=0 is highest or lowest?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The 0 seems highest. Priority always from 0 ~ n - 1 in order from response.

/// Specifies a composite index empty list to set every composite path.
/// </summary>
/// <returns>The next stage of the definition.</returns>
IWithCompositeIndexList<ParentT> WithCompositeIndexEmptyList();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure, DefineCompositeIndex or WithNewCompositeIndexList?

@yaohaizh

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure about it, too. I think using define for a list inside same interface is a little strange.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I use the WithNewCompositeIndexList

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.

[FEATURE REQ] Update Cosmos swagger and API
4 participants