Chris Ickes

Results 3 comments of Chris Ickes

Can someone share a simple example to return a collection of items? Thanks.

How would this work using the same approach as the [examples/item.py](https://github.com/DeanWay/pydantic-jsonapi/blob/master/examples/item.py)? Assuming that the items are stored in a `List` of `item_rows`. ``` ItemResponse = JsonApiResponse(ITEM_TYPE_NAME, Item) # Simple post...

How can we pass an environment variable to `origins`? The environment variable must be a string so separate the domains by a whitespace. Environment variable: `CORS_ORIGINS = 'domain1.com domain2.com anotherone.com'`...