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 checking the absence of a key with =? #9

Open
snoe opened this issue Jun 23, 2023 · 0 comments
Open

Support checking the absence of a key with =? #9

snoe opened this issue Jun 23, 2023 · 0 comments

Comments

@snoe
Copy link
Contributor

snoe commented Jun 23, 2023

There are some instances where it's useful to assert on the shape of some keys of a map while also asserting that another key is not present.

https://github.com/search?q=repo%3Ametabase%2Fmetabase+%22key+is+not+present.%22&type=code

I'm not sure if it's simply a matter of def this or if there's magic missing
https://github.com/metabase/hawk/blob/main/src/mb/hawk/assert_exprs/approximately_equal.clj#L101C68-L101C108

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

No branches or pull requests

1 participant