We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm trying to use the xform argument on the proto-map->clj-map function to handle proto-maps that have fields using one-of.
xform
proto-map->clj-map
one-of
However, the xform is being applied after the default mapper, so it cannot access the proto-map. Is this order supposed to be this way?
pronto/src/clj/pronto/core.clj
Line 122 in df3f76f
If the xform is meant to be the first transducer, it should be:
(comp xform mapper)
Reference from Clojure docs: https://clojure.org/reference/transducers#_defining_transformations_with_transducers
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm trying to use the
xform
argument on theproto-map->clj-map
function to handle proto-maps that have fields usingone-of
.However, the
xform
is being applied after the default mapper, so it cannot access the proto-map. Is this order supposed to be this way?pronto/src/clj/pronto/core.clj
Line 122 in df3f76f
If the
xform
is meant to be the first transducer, it should be:(comp xform mapper)
Reference from Clojure docs: https://clojure.org/reference/transducers#_defining_transformations_with_transducers
The text was updated successfully, but these errors were encountered: