fastapi-cache icon indicating copy to clipboard operation
fastapi-cache copied to clipboard

Avoid response model validation of cache

Open m0wer opened this issue 3 years ago • 1 comments

Is there a way of avoiding pydantic response model validation when using cache?

m0wer avatar Dec 13 '21 19:12 m0wer

Apparently, a fastapi.responses.JSONResponse can be cached only with fastapi_cache.coder.PickleCoder.

m0wer avatar Dec 13 '21 19:12 m0wer

This is an older issue and a lot has changed since, but I strongly suspect that #140 will address the issues that remain here.

mjpieters avatar May 14 '23 22:05 mjpieters