Patrick Arminio

Results 669 comments of Patrick Arminio

oh yes, this is the line that's broken: ``` resp: HttpxResponse = await client.post('/subscriptions.json', headers=headers, json=form_data) ``` you can do instead (after importing dataclasses: ``` resp: HttpxResponse = await client.post('/subscriptions.json',...

> OMG, thank you so much Patrick!! > > How did you know that was the issue? Is this something I could add to the docs? I've seen that error...

@BryceBeagle do you prefer that to converting types to dicts?

Converting things to dicts might retain types like dates and so on, which might be useful in somecases (also it should be faster than converting things to json all the...

> But here, the use case is explicitly for json, so I think it would be best to do the recursive conversion all the way down the object tree httpx...

we don't have support for SSE just yet, but I'd love to have it :)

hi @tyoung-patreon, I'll check this in the next few days, but I was wondering if you tried this while running a GraphQL query 🤔

maybe @Kludex has some ideas about this. In the django integration we have defined `get_context` on the class and it receives the info param, I think we should have the...

Hi @pavelbrych, this is a bug, if needed the current workaround is this: ```python title: typing.Optional[str] = strawberry.field(description="Item title", default_factory=lambda: UNSET) ```

hi @pauloteixeirajr! good suggestion, I was thinking the same a couple of days ago, I want to merge this PR: https://github.com/strawberry-graphql/strawberry/pull/1840 before adding this feature 😊 I'd love to have...