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

Generated Code doesn't work with package specification #435

Open
satoshi-baba-0823 opened this issue Aug 16, 2022 · 0 comments
Open

Generated Code doesn't work with package specification #435

satoshi-baba-0823 opened this issue Aug 16, 2022 · 0 comments

Comments

@satoshi-baba-0823
Copy link

I have a multi-module configuration, but if I specify a package with RootComponent, NeedleGenerated is not generated correctly.

I'll show you an example below.
If you remove the HogeModule designation, it works fine.

Example

import HogeModule
final class RootComponent: BootstrapComponent {
    var hogeComponent: HogeBuilder {
        HogeModule.HogeComponent(parent: self)
    }
}
public func registerProviderFactories() {
    __DependencyProviderRegistry.instance.registerDependencyProviderFactory(for: "^->RootComponent") { component in
        return EmptyDependencyProvider(component: component)
    }   
}
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

1 participant