Skip to content

track2 @azure/arm-features#16207

Merged
dw511214992 merged 9 commits intomainfrom
dw/track2-arm-features
Jul 15, 2021
Merged

track2 @azure/arm-features#16207
dw511214992 merged 9 commits intomainfrom
dw/track2-arm-features

Conversation

@dw511214992
Copy link
Copy Markdown
Member

No description provided.

@dw511214992
Copy link
Copy Markdown
Member Author

/azp run prepare-pipelines

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@dw511214992 dw511214992 changed the title track2 arm-features track2 @azure/arm-features Jul 6, 2021
export type FeaturesUnregisterResponse = FeatureResult;

// @public
export const enum KnownSubscriptionFeatureRegistrationApprovalType {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Let's make sure all enums are just regular enums. Const enums do not work well in javascript: Azure/autorest.typescript#1013

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I think it's an important issue. @sarangan12 could you please fix it ASAP. I think it blocks the release.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

"forceConsistentCasingInFileNames": true,
"lib": ["es6"],
"preserveConstEnums": true,
"lib": ["es6", "dom"],
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

why adding dom here?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

In one of the data plane SDKs, this was creating issue. I do not remember which SDK. On analysis, I found this was generic and we should add the dom also. If you feel this is not required specifically for this SDK, you can remove it if there are no issues on your side.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@witemple-msft and @xirzec what do you think about this?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Better to omit it if your SDK doesn't only work in browsers, but sometimes it's hard to avoid. I'd need to see the build error.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

It should be fine to include as long as we're careful to shim browser types that are exposed in the API surface. I took a quick look through the api.md and didn't see anything that sticks out to me.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This is emitted by code gen (@sarangan12 for all packages, right?) so I think we're careful in the sense that code gen does not understand browser types/shims anyway.

@dw511214992
Copy link
Copy Markdown
Member Author

/azp run prepare-pipelines

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

# Conflicts:
#	common/config/rush/pnpm-lock.yaml
#	rush.json
@dw511214992 dw511214992 requested review from deyaaeldeen, lirenhe and ramya-rao-a and removed request for mikeharder and witemple-msft July 13, 2021 02:14
@dw511214992 dw511214992 merged commit 16f6e54 into main Jul 15, 2021
@dw511214992 dw511214992 deleted the dw/track2-arm-features branch July 15, 2021 03:48
deyaaeldeen pushed a commit that referenced this pull request Jul 26, 2021
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.

5 participants