full-stack-fastapi-template
full-stack-fastapi-template copied to clipboard
/users/me returns 500 (GET/POST) - pydantic issue
issue
hi, currently something seems to be wrong with the pydantic validations on the user model.
Any get/post to /users/me returns a 500.
Logs:
backend_1 | pydantic.error_wrappers.ValidationError: 1 validation error for User backend_1 | response backend_1 | value is not a valid dict (type=type_error.dict)
Request payload looks like a dict :)

how to reproduce
fresh cookiecutter generated project, log with admin into frontend, change own username/email etc.
ok. that was #43 .
Thanks for reporting back and closing the issue :+1: