Fork me on GitHub
#pathom
<
2020-04-03
>
myguidingstar14:04:01

is there any built-in plugin or configuration to convert all ::p/not-found values of maps in a parser's output to nil?

kszabo15:04:01

not exactly the same, it removes the keys from the response completely

kszabo15:04:08

but it makes your response size smaller

kszabo15:04:28

I think this should be the default or should be documented more prominently

kszabo15:04:42

for Connect parsers at least

myguidingstar15:04:08

exactly what I want. Thanks

souenzzo17:04:17

can I say that p/reader is a "pipeline" of state-full functions that operates on env (mostly swap! on entity ) and returning a "command" that say if p/parser should continue or not the pipeline?

wilkerlucio20:04:59

feels like meshing too many things, the parser has the reader pipeline, which is an internal helper, that one is the one that may have a vector of readers, and does the coordination in case ::p/continue is returned, but I consider it more lower level than the parser itself

wilkerlucio20:04:13

reader is something that will process an entry of the EQL query