Skip to content

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

Description

@snoe

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions