You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.
Unfortunately, construct functions work only with structs, so we won't get rid of Injectable protocol.
It is possible to retrieve all properties names and types (👍) even for classes
It is possible to set value to a property, using string with the property name (👍) in both structs and classes instances
So it seems like there's a possibility to get rid of injectDependencies(injector: Injecting) function, and replace it with something like func swifjectionRequiredProperties() -> [String] which will return array of properties names to inject, and Swifjection would do the rest.
I will propose a pull request with this change, probably later today.
No description provided.
The text was updated successfully, but these errors were encountered: