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

Support "not in" context key expression #155261

Merged
merged 2 commits into from
Jul 18, 2022
Merged

Conversation

roblourens
Copy link
Member

Fixes #154582

@vscodenpa vscodenpa added this to the July 2022 milestone Jul 15, 2022
@roblourens roblourens requested a review from alexdima July 15, 2022 02:31
@@ -179,6 +179,21 @@ suite('ContextKeyExpr', () => {
assert.strictEqual(ainb.evaluate(createContext({ 'a': 'prototype', 'b': {} })), false);
});

test('ContextKeyNotInExpr', () => {
const ainb = ContextKeyExpr.deserialize('a not in b')!;
Copy link
Contributor

Choose a reason for hiding this comment

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

Slightly confusing that this isn't named anotinb

@roblourens roblourens merged commit 5acd950 into main Jul 18, 2022
@roblourens roblourens deleted the roblourens/issue154582 branch July 18, 2022 17:07
@github-actions github-actions bot locked and limited conversation to collaborators Sep 1, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support "not in" context key expression
4 participants