Skip to content

Take :opt (optional) keywords into account when qualifying a map #2

@cjsauer

Description

@cjsauer

My initial use case didn’t require it, but upon rereading the code, it should be possible to support :opt keys by improving the implementation’s internal spec of s/keys forms. Once extracted, the :req vector could simply be concatenated with the :opt vector, and the result de-duplicated to form the full set of qualified keys.

Reminder to update the limitations section of the readme if this does indeed work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions