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
If I add local micro package AppFactoryDevPackageModule, FormatException occurs.
[INFO] Running build...
[app_factory_dev]: [SEVERE] injectable_generator:injectable_config_builder on lib/src/di/configure_dependencies.dart:
[app_factory_dev]:
[app_factory_dev]: FormatException: Not an instance of Type.
[app_factory_dev]: [INFO] Running build completed, took 287ms
[app_factory_dev]:
[app_factory_dev]: [INFO] Caching finalized dependency graph...
[app_factory_dev]: [INFO] Caching finalized dependency graph completed, took 51ms
[app_factory_dev]:
[app_factory_dev]: [SEVERE] Failed after 341ms
The document in pub.dev said that "it's also possible to include micro local or external modules manually by passing them to the externalPackageModules property inside of @injectableInit so they're initialized with the rest of the local dependencies."
But it doesn't work to manually pass local modules.
How can I add local modules to externalPackagesModule?
The text was updated successfully, but these errors were encountered:
The above one is working well.
AppFactoryCorePackageModule is external package from the other package.
AppFactoryCorePakcageModule is defined and is generated in app_factory_core.
But,
If I add local micro package AppFactoryDevPackageModule, FormatException occurs.
The document in pub.dev said that "it's also possible to include micro local or external modules manually by passing them to the externalPackageModules property inside of @injectableInit so they're initialized with the rest of the local dependencies."
But it doesn't work to manually pass local modules.
How can I add local modules to externalPackagesModule?
The text was updated successfully, but these errors were encountered: