You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just stumbled upon this (and admit I haven't actually tested it yet, apologies for that) but it looks like CRUDGenerator.get would not properly remove its existing GET route when overriding it:
Just stumbled upon this (and admit I haven't actually tested it yet, apologies for that) but it looks like
CRUDGenerator.get
would not properly remove its existing GET route when overriding it:fastapi-crudrouter/fastapi_crudrouter/core/_base.py
Line 149 in 9b82986
Looks like a typo to me - shouldn't it rather be
"GET"
instead of"Get"
here?The corresponding removal code compares to
route.methods
and IIRC FastAPI does uppercase all the methods:fastapi-crudrouter/fastapi_crudrouter/core/_base.py
Lines 170 to 178 in 2670202
Best regards,
Holger
The text was updated successfully, but these errors were encountered: