-
Notifications
You must be signed in to change notification settings - Fork 507
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
Resolver using swift generic varaidic argument? #563
Comments
alessdiimperio
changed the title
Resolver init using swift parameter packs?
Resolver using swift parameter packs?
May 16, 2024
alessdiimperio
changed the title
Resolver using swift parameter packs?
Resolver using swift generic varaidic argument?
May 16, 2024
Just to add a little something, the related Swift EVO proposal: https://github.com/apple/swift-evolution/blob/main/proposals/0393-parameter-packs.md |
cheers 👍 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Could the resolver protocol use generic variadic arguments to avoid the limit of max arguments as currently exists?
something like so..
func resolve<Service, Args...>(_ serviceType: Service.Type, arguments: Args...) -> Service?
The text was updated successfully, but these errors were encountered: