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

Feature(scope): *transloco directive should error if TranslocoDirective isn't present on standalone component imports #836

Open
1 task done
mariojsnunes opened this issue Feb 7, 2025 · 0 comments

Comments

@mariojsnunes
Copy link

mariojsnunes commented Feb 7, 2025

Is there an existing issue for this?

  • I have searched the existing issues

Which Transloco package(s) will this feature affect?

Transloco

Is your feature request related to a problem? Please describe

Just updated a large app to Angular 19 and Transloco 7.5.1 and finding some components that don't render at all because the directive isn't imported.
Would be great if the issue could be caught at compile time.

Describe the solution you'd like

Throw an error if TranslocoDirective isn't imported

Describe alternatives you've considered

have a tool to scan for the missing import, couldn't find it.

Additional context

No response

I would like to make a pull request for this feature

No

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