Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AssociatedType is missing annotaions property #1214

Closed
lagubull opened this issue Oct 25, 2023 · 1 comment
Closed

AssociatedType is missing annotaions property #1214

lagubull opened this issue Oct 25, 2023 · 1 comment
Milestone

Comments

@lagubull
Copy link

Hi!

Just like other entities, e.g: Var, Type I would like to be able to annotate associatedTypes so that i can provide a specific value for them so that classes with generic which types cant be inferred can still be mocked.

Thank you!

@art-divin art-divin added this to the 2.2.0 milestone Mar 29, 2024
@art-divin
Copy link
Collaborator

art-divin commented Jun 22, 2024

Hey @lagubull ,

I have implemented it for protocols with associated types, in a way that the associated type is exposed as a generic requirement of the generated class.

Do you find your use case fulfilled?

See #1345 for more info

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants