Using PersistedCache with Effect.fn and Object Parameters
If I have a Effect.fn that takes an object of parameters and returns some result, is there a neat way to wrap it in a PersistedCache that uses the full options as the key?
Maybe I have to refactor my code to use
Maybe I have to refactor my code to use
Schema.TaggedRequest and a resolver instead of a service with multiple functions that take Schema.Type<typeof MyRequestArgsSchema> as parameters.. but was hoping to be able to avoid that