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

A dynamic FastAPI router that automatically creates CRUD routes for your models

Results 71 fastapi-crudrouter issues
Sort by recently updated
recently updated
newest added

Similar to the `id` field, I have a `created_on` field the database will auto create for me. Now, what is the best way to not allow the field in POST,...

enhancement
question

Hi, I liked the idea of ​​your project and needed to make a fastapi router that will work with SQLAlchemy in asynchronous mode. Also this answers issue number #87

Following the Overriding Example, we can easily override the default router: ```python from pydantic import BaseModel from fastapi import FastAPI from fastapi_crudrouter import MemoryCRUDRouter as CRUDRouter class Potato(BaseModel): id: int...

hello. For tables that have columns for logical deletion, as shown below, there is a use case where logical deletion is required. ```sql CREATE TABLE user ( id INTEGER, name...

When using pagination can we return extra data like total_pages, previous_page_no? For example for 100 records and for pagination value to 25 for requesting 25th to 50th record, response can...

By Mozilla docs, [delete](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/DELETE). and [put](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/PUT) responses should be 204 on success. Is there a reason you choose to return 200?

question

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...

Is it possible to the call the CRUD functions inside the application from other parts of the code? How do I do that? ie: `user = users.get(f"/user/{user_id}")` or something like...

hello. Looking at the CRUDGenerator's `__init__()` argument, I noticed that there is no property to specify the response_class. I want to use a fast JSON conversion library like [ORJson](https://github.com/ijl/orjson), what...

good first issue