Skip to content

Metadata on deftest (and def) #224

@arichiardi

Description

@arichiardi

Hi @kkinnear,

As our use of zprint increases, we are slowly tackling and opening issues when we don't know how manage some of our forms (as you saw 😄)

Thank you in advance for your work, we are going to try 1.2.2 soon here.

In the meantime, we have many places where we declare metadata on stuff:

(def ^{:doc "Json serde. This enables our default camel-case out kebab case in behaviour."}
     default-json-serde
  serde/json-camel-kebab-serde)
(deftest ^{:database true ::test.hooks/system-init-keys system-keys}
         websocket-diagnostic-report-measurements-updated-event
  (let [foo (bar "1")]
    foo))

The meta seems to break the arg1-body setup and I am not sure how to handle that. I could probably go :inner but I thought I should ask first.

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