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

Question: Model with different look than the Input SCHEMA

Open jeanlst opened this issue 3 years ago • 0 comments

I have an API that for some reasons has a certain structure which is different from what the route receives from external actors (they send with their schema which is a json from mongodb), how do I handle the conversion from this different schema to my model?

jeanlst avatar Jan 06 '22 18:01 jeanlst