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

track2 @azure/arm-features #16207

Merged
merged 9 commits into from
Jul 15, 2021
Merged

track2 @azure/arm-features #16207

merged 9 commits into from
Jul 15, 2021

Conversation

dw511214992
Copy link
Member

No description provided.

@dw511214992
Copy link
Member Author

/azp run prepare-pipelines

@azure-pipelines
Copy link

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
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
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
Contributor

Choose a reason for hiding this comment

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

"sourceMap": true,
"declarationMap": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"forceConsistentCasingInFileNames": true,
"lib": ["es6"],
"preserveConstEnums": true,
"lib": ["es6", "dom"],
Copy link
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
Member Author

Choose a reason for hiding this comment

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

Copy link
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
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
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
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
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
Member Author

/azp run prepare-pipelines

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

# Conflicts:
#	common/config/rush/pnpm-lock.yaml
#	rush.json
@dw511214992 dw511214992 requested review from ramya-rao-a, deyaaeldeen and lirenhe 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