Patrick Arminio

Results 669 comments of Patrick Arminio

/pre-release

/pre-release

@millar @Speedy1991 thank you both! I'll see if I can update the extension! Also, I think that would work only on the first response? I'll double check

/pre-release

/pre-release

@yuvalbenarie thanks! do you want to send a PR to update it? I think we can support both versions, or just force latest if it is complicated to do

Code sample in [pyright playground](https://pyright-play.net/?code=GYJw9gtgBA%2BjwFcAuCQFM5QJYQA5hCSgEMA7UsJYpLMUgZwCgd9CoATa4gYwBtj69NE1CQoSAJ64spAObY8BIgGU0vYABoo6AG5pivGJNxpGZgAKcqfAUPoA6Kz36DGNwVGWQ0AbQAqALoAXIxQYVA6BghoQVB%2BoeEJYexowFD03gAUQuoAlFAAtAB8nmrAIeHh6CggpOllSVCMllzudo6tLkxtUABylAAWMrL%2BwY0paRkQaNll%2BcV9dDGNYdWodf2kaE2MxtsAssQSAEa%2BgVAAvJ7e-lAAPotbAfeLSENyo2YT6d7wCKTcTLzEqHE6%2BehIEBjSprWrXaaZABExERuTMxEuP2mfwBQLMun0hj2mWIaOYaVwAyWUCCV2I9imM1yFSqaD0BiMUhmlKWaJhbMJnJMmR5W3skV40TRaiELNWAo5xNFaDRQA) ```python from __future__ import annotations import dataclasses from typing import Self, reveal_type @dataclasses.dataclass class Some[T]: value: T def some(self) -> Self: return self @dataclasses.dataclass class...

I'll review this with @bellini666 tomorrow 😊

Just adding some example that we were discussing with @bellini666 and @Ckk3 ```python from __future__ import annotations import strawberry user = { "name": "John Doe", "email": "[email protected]", "age": None, }...

Ok, I made a PR for this in #3961 We had a long chat about this, and while there were good points for having the current behaviour, we decided that...