Fork me on GitHub
#pathom
<
2020-05-23
>
currentoor06:05:58

Is it wrong to invoke the parser in a resolve? What about multiple times?

currentoor06:05:38

I’m getting weird behavior and starting to think this is not how the parser is supposed to be used.

currentoor06:05:33

If I invoke the parser multiple times with pmap rather than map it works

currentoor18:05:37

Is it ok to bust the cache in the env if I want to invoke the parser from within a resolver?

wilkerlucio22:05:29

yeah, calling from inside should be fine, but can lead to unexpected situations due to caching. the best you can do is try and see what works for the situation

currentoor21:05:17

i reset the atoms in the env (there were three of them pathom had) and now it works great