Fork me on GitHub
#fulcro
<
2022-04-02
>
Fabian17:04:54

Hey! I'm using fulcro-rad and try to use wrap-write-delta to add some data to the save-form mutation. In that rewrite I'm using the parser to resolve some query on the server side, something like this

(com.example.components.parser/parser env [{ident [:example/test]})
That seems to have a side effects, which I don't fully understand: • the rewrite happens as intend • but the form gets back a response with the old unchanged data • after a reload I see the change • without the parser call and just a static rewrite everything works as intended How can I use the parser just to resolve my query without impacting the response?

Jakub Holý (HolyJak)19:04:40

So the absolutely only diff is whether you call the parser or not? Isn't it a pure function? Or does it change some atoms?