Skip to content

Commit

Permalink
nodejs: fix protoc missing call to vschemas-update-msg-field-presence
Browse files Browse the repository at this point in the history
  • Loading branch information
st-cheewah committed Dec 30, 2024
1 parent e6bdd3c commit 2293212
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/clojobuf/nodejs.cljs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
(ns clojobuf.nodejs
(:require [clojobuf.core :refer [->malli-registry]]
[clojobuf.schema :refer [xform-ast]]
[clojobuf.schema :refer [xform-ast vschemas-update-msg-field-presence]]
[rubberbuf.core :as rc] ; rubberbuf.core uses rubberbuf.util which uses cljs-node-io.core that is not available to cljs browser runtime
[rubberbuf.ast-postprocess :refer [unnest]]
))
Expand All @@ -13,6 +13,7 @@
codec_malli_pairs (transduce (map (comp xform-ast val)) into [] rast)
codec (transduce (map first) into {} codec_malli_pairs)
malli (transduce (map second) into {} codec_malli_pairs)
malli (vschemas-update-msg-field-presence malli)
malli (if auto-malli-registry
(->malli-registry malli)
malli)]
Expand Down

0 comments on commit 2293212

Please sign in to comment.