Closed burakbudanur closed 5 months ago
Hi @burakbudanur
Thansk for pulling up this issue. Upon further investigation, it looks like the types.UnionType
in the User(Base)
model of app/app/models/user.py
doesn't support the types.UnionType
operation. The Base
class is an odmantic.Model
type and (issue ticket here) that is where the error is occurring. I'm putting up a fix to switch that back to Optional[int]
.
Fix: #42
Let me know if this resolves your issue.
Hi! When I follow Quickstart instructions, the backend exits with the following error. I realized this after login didn't work so https://github.com/mongodb-labs/full-stack-fastapi-mongodb/issues/34 might also be related.