Skip to content

Conversation

gzmask
Copy link
Contributor

@gzmask gzmask commented Feb 2, 2018

No description provided.

@rymndhng
Copy link
Contributor

rymndhng commented Feb 12, 2018

Is this PR still relevent? I'm also standardizing the way we're setting opts. We should use a map for consistency for now. See #4

:license {:name "The MIT License (MIT)"
:url "http://opensource.org/licenses/MIT"
:comments "Copyright (c) 2018 Unbounce Marketing Solutions Inc."}
:profiles {:dev {:dependencies [[org.clojure/test.check "0.9.0"]]}}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this is still relevant as generative testing rely on this dependency.

(s/def ::metric string?)
(s/def ::tags (s/coll-of string? :kind vector?))
(s/def ::opts (s/keys :req-un [::tags ::sample-rate]))
(s/def ::opts* (s/keys* :req-un [::tags ::sample-rate]))
Copy link
Contributor Author

@gzmask gzmask Feb 16, 2018

Choose a reason for hiding this comment

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

this is also nice to have for (f :key 'value') compare to (f {:key 'value}) .
But agrees that we should only be using one and not both styles.

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

Successfully merging this pull request may close these issues.

2 participants