igorbenav / fastcrud

FastCRUD is a Python package for FastAPI, offering robust async CRUD operations and flexible endpoint creation utilities.
MIT License
644 stars 45 forks source link

disable specific crud methods? #144

Closed LeiYangGH closed 1 month ago

LeiYangGH commented 1 month ago

Is your feature request related to a problem? Please describe. How to disable create/delete, for example? i don't see it in docs.

Describe the solution you'd like crud_router constructor, set create_schema=None, delete_schema=None,

but doesn't work. docs still show such methods.

igorbenav commented 1 month ago

Do you mean something like this?

LeiYangGH commented 1 month ago

yes. thanks, i saw this argument but not aware it was used for specifying subset of crud methods. i think my problem solved.