Skip to content

Commit

Permalink
Prevent issue with records and serialization
Browse files Browse the repository at this point in the history
Fixes #236
Issue caused by dc33869
  • Loading branch information
djblue committed Aug 28, 2024
1 parent 65c463d commit 5cfd6f2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/portal/runtime.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,9 @@
(cson/tagged-map
buffer
"{"
{::id (value->id value) ::type (type value)}
(if (record? value)
(meta value)
{::id (value->id value) ::type (type value)})
value)))))

(extend-type #?(:clj Object
Expand Down

0 comments on commit 5cfd6f2

Please sign in to comment.