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
We use yarn workspaces and lerna to manage multiple packages and as such some of our abstracted base classes for repositories, models, datasources, etc. are distributed across these packages. When we use any of the generator commands offered by lb4 cli, it only lists the corresponding classes within the package in scope as available base classes to extend from. Is there a way to tell lb4 that there are classes in other packages I would want to extend from?
For instance, @company/common package has a class "MyDefaultRepository" which contains certain custom behavior we added to the repository class and we would like this class to be the default base class for all other repos no matter which package they are created in.
Is this possible? Any help will be greatly appreciated.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
We use yarn workspaces and lerna to manage multiple packages and as such some of our abstracted base classes for repositories, models, datasources, etc. are distributed across these packages. When we use any of the generator commands offered by lb4 cli, it only lists the corresponding classes within the package in scope as available base classes to extend from. Is there a way to tell lb4 that there are classes in other packages I would want to extend from?
For instance, @company/common package has a class "MyDefaultRepository" which contains certain custom behavior we added to the repository class and we would like this class to be the default base class for all other repos no matter which package they are created in.
Is this possible? Any help will be greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions