Skip to content

Commit

Permalink
Change yaml null to become lisp :null
Browse files Browse the repository at this point in the history
I know this is an incompatible change, but it is pretty much the only
way to differentiate between null and empty list.
  • Loading branch information
charJe committed Apr 22, 2021
1 parent 57ac240 commit 145b5aa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion schema.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ installed by the schema."

(defmethod install-converters progn ((schema json-schema))
(install-scalar-converter "tag:yaml.org,2002:null" (lambda (content)
(declare (ignore content))))
(declare (ignore content))
:null))
(install-scalar-converter "tag:yaml.org,2002:bool"
(lambda (content)
(if (all-matches
Expand Down

0 comments on commit 145b5aa

Please sign in to comment.