Skip to content

Commit

Permalink
Make :field optional in vega lite spec (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
rfhayashi authored Aug 14, 2021
1 parent 9732a3d commit 8bc348f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/portal/ui/viewer/vega_lite.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@
:opt-un [::type ::title ::axis]))

(sp/def ::y
(sp/keys :req-un [::field]
:opt-un [::type ::title ::axis]))
(sp/keys :opt-un [::field ::type ::title ::axis]))

(sp/def ::encoding
(sp/keys :opt-un [::x ::y ::theta]))
Expand Down

0 comments on commit 8bc348f

Please sign in to comment.