integrant

Frank Henard 2023-11-16T21:05:34.007499Z

I want to mock a function in Clojurescript because with-redefs does not work with our functions that return promises. Would integrant be good for this? If so, any examples?

Frank Henard 2023-11-16T21:57:51.676479Z

one idea I had... maybe using protocols and records, and then integrant instantiates the record

weavejester 2023-11-17T17:46:19.433579Z

It depends on your use-case. Integrant is designed to create systems from a dependency graph of components.

👍 1