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

Update prettier dev-dependency to v2.5.1 in Cosmos DB #19506

Merged
merged 3 commits into from
Jan 5, 2022

Conversation

JonathanCrd
Copy link
Member

Solves: #9329 for packages under sdk/cosmosdb.

Updated prettier dev-dependency version to latest 2.5.1.
Files were re-formatted as well. There are only format changes in this PR, no manual changes except for package.json files.

Main format changes with Prettier 2.x in this PR include:

  • Trailing commas by default.
  • Whitespace added after every function keyword.

@JonathanCrd JonathanCrd self-assigned this Dec 21, 2021
@ghost ghost added the Cosmos label Dec 21, 2021
@JonathanCrd JonathanCrd changed the title Update prettier dev-dependency to v2.5.1 in container registry Update prettier dev-dependency to v2.5.1 in Cosmos DB Dec 21, 2021
@@ -83,15 +83,15 @@ export class ChangeFeedResponse<T> {
export class ClientContext {
constructor(cosmosClientOptions: CosmosClientOptions, globalEndpointManager: GlobalEndpointManager);
// (undocumented)
batch<T>({ body, path, partitionKey, resourceId, options }: {
Copy link
Member Author

Choose a reason for hiding this comment

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

Prettier changes modified the public API signature for cosmos. When rebuilding the project with rush, this file cosmos.api.md was updated. I'm not sure if this is expected.

@JonathanCrd JonathanCrd merged commit c26f9c2 into Azure:main Jan 5, 2022
azure-sdk pushed a commit to azure-sdk/azure-sdk-for-js that referenced this pull request Aug 5, 2022
[Hub Generated] [Microsoft.Cache] 2022-05-01 API: Add "Latest" option to "redisVersion" property, async linked server, managed identity changes  (Azure#19506)

* Adds base for updating Microsoft.Cache from version stable/2021-06-01 to version 2022-05-01

* Updates readme

* Updates API version in new specs and examples

* Add 2022-05-01 API version with "redisVersion" default changes and update older API version descriptions

* Sync changes

* Update examples

* Update example

* Add Managed identity support for Import, Export and Persistence. (#1)

* Update LinkedServer_Delete response code

* Add x-ms-long-running-operation

* Fix example and descriptions

* Fix warnings

Co-authored-by: MECHANDR <30642185+MECHANDR@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants