FastAPI-JSONAPI icon indicating copy to clipboard operation
FastAPI-JSONAPI copied to clipboard

JSON:API for FastAPI

Results 18 FastAPI-JSONAPI issues
Sort by recently updated
recently updated
newest added

Обновил линтеры ruff и black до актуальных версий. После проверки линтерами, black изменил некоторые файлы(убрал, добавил пробелы), ruff выдавал ошибку RUF018, изменил код в модуле test_api_sqla_with_includes.py как того требует линтер....

При запросе `/currencies?page[size]=10` для 11 элементов `totalPages` возвращает 1 (должно быть 2). http://127.0.0.1:8000/api/v1/currencies/ result: "meta": { "count": 11, "totalPages": 1 } } http://127.0.0.1:8000/api/v1/currencies/?page%5Bsize%5D=10 result: "meta": { "count": 10, "totalPages": 1...

When specifying custom model id field using `model_id_field_name` there's an 500 internal server error when getting list of entities. This PR fixes it using the provided `models_storage.get_model_id_field_name`

the following works fine: ``` /handelsproduct/13099/?include=voorschrijfproduct ``` and also this (one-to-many): ``` /handelsproduct/13099/relationships/componenten/ ``` but strangely, the following does not (many-to-one): ``` /handelsproduct/13099/relationships/voorschrijfproduct ``` even though this is sort of...

thanks for the awesome project. most of the things I have tried are working - like magic! I did run into a few minor issues though. before diving into the...

Firstly, thank you for developing and releasing such as useful framework. Taking a look at the project, is doesn't seem stale or unsupported at face value, but equally there hasn't...

by passing missing include_fields parameter. fixes issue #101 for me.