Vitaliy Kucheryaviy
Vitaliy Kucheryaviy
@MiltosD you can create [custom renderer ](https://django-ninja.dev/guides/response/response-renderers/) overwrite `render` method - get Accept header and based on it value serialize response differently
hard to tell - need to see how exactly your `json` and `json-ld ` are different
@andy-isoc could you show your example of your renderer class ?
@tim-hub could you show full stack trace ?
Hi @aryan-curiel Sorry for dragging this for this long - but we finally getting rid of "Config" child class in favour of Meta (as it will be "broken" in future...
django ninja is not any differen from any other django project app - no built-in support are planned for now
well Depends part in FastAPI is the ugliest part IMO - and they have it basically to make easier to pass database connections or users but redability becomes ugly now...
Hi @mh-alahdadian could you also add test case for multiple response codes ? ```Python @router.get("/check_pydantic", response={200: UserModel, 201: Message}) def check_pydantic(request): if something: return 201, {"message": "Created"} return 200, UserModel(id=1,...
well coverage shows that it never actually calls the needed line