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
I am working with lazy loaded modules in angular (user, manager and admin) and need generated GQL services to not be provided in root, but codegen.ts property serviceProvidedInRoot set to false does nothing in regards to:
@Injectable({
providedIn: 'root'
})
...and 'root' is still present.
I want them to not be provided anywhere and do it by hand in lazy modules in:
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
Uh oh!
There was an error while loading. Please reload this page.
-
I am working with lazy loaded modules in angular (user, manager and admin) and need generated GQL services to not be provided in root, but
codegen.ts
propertyserviceProvidedInRoot
set tofalse
does nothing in regards to:...and 'root' is still present.
I want them to not be provided anywhere and do it by hand in lazy modules in:
Given:
I am running simple
package.json
script with pnpm:Can somebody reproduce and confirm this issue?
Or maybe i misunderstood this configuration feature?
P.S:
serviceProvidedIn
doesn't seem to work either.Beta Was this translation helpful? Give feedback.
All reactions