Rodrigo Oliveira

Results 22 comments of Rodrigo Oliveira

@ilevkivskyi @smarie is there any news on this? I'll be hardcoding `is_forward_ref` function to my lib to work with this but it would be great to have them at `typing_inspect`...

@ilevkivskyi submitted: https://github.com/ilevkivskyi/typing_inspect/pull/57

### [REJECTED] Proposal A: Keep things the way they are The way `Autowired` is implemented doesn't directly conflict with `typing.Annotated` and theoretically we could keep Injectable as is and everything...

### [ACCEPTED] Proposal B: Make `Autowired` an alias of `typing.Annotated` All these uses would be correct: ```python @autowired def foo(service: Autowired(Service)): ... ``` ```python @autowired def foo(service: Annotated[Autowired(Service), foo, bar]):...

### [REJECTED] Proposal C: Move `Autowired` from the annotations to the default values of arguments The use of `Autowired` would now be like this: ```python @autowired def foo(service: Service =...

### [REJECTED] Proposal D: denote autowired arguments in the `@autowired` decorator, dispensing the use of `Autowired` This alternative was already considered and rejected at the very beginning of this project...

> What do you think of PEP593 > typing.Annotated > i think you can add some attr annotated Hi @Euraxluo, thanks for the bringing this to attention! Indeed I'm thinking...

Thanks for your contribution @chsatyap! Deepsource seems really interesting, I'll evaluate if it is good fit for injectable. I'll review your PR soon! Thanks again!

> @allrod5 Hey! do you have any update for me? Lmk if there's anything you'd like to know or something I must do. Hi @chsatyap, as this is a bigger...