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

Change disableForTypeSpec to disableForTypeSpecDataPlane #713

Merged
merged 5 commits into from
Jul 23, 2024

Conversation

konrad-jamrozik
Copy link
Contributor

@konrad-jamrozik konrad-jamrozik commented Jun 14, 2024

Now we can disable rules only if resolvedOpenapiType === OpenApiTypes.dataplane

Obsolete description:

Now if rule is marked as disableForTypeSpec: true it will continue to be enabled for TypeSpec in case of ARM and RPaaS rulesets. I mean merged/final ruleset.

Copy link
Member

@mikeharder mikeharder left a comment

Choose a reason for hiding this comment

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

Rename to disableForTypeSpecDataPlane and reverse check

@konrad-jamrozik konrad-jamrozik changed the title Do not "disable for TypeSpec" rules for ARM or RPaaS even if they are marked as such in the ruleset Change disableForTypeSpec to disableForTypeSpecDataPlane Jul 23, 2024
@konrad-jamrozik konrad-jamrozik dismissed mikeharder’s stale review July 23, 2024 21:41

Getting approval from Wes Haggard while Mike is out.

@konrad-jamrozik konrad-jamrozik merged commit 8c56e56 into main Jul 23, 2024
4 checks passed
@konrad-jamrozik konrad-jamrozik deleted the users/kojamroz/dp_disable branch July 23, 2024 21:44
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.

None yet

3 participants