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

fix(localization): do not declare pipes that override another one #1993

Closed
wants to merge 1 commit into from

Conversation

matthieu-crouzet
Copy link
Contributor

Proposed change

Do not declare pipes that override another one
Else we have 2 declaration of pipes with the same name and it causes NG0313

Related issues

Copy link

nx-cloud bot commented Jul 24, 2024

☁️ Nx Cloud Report

CI is running/has finished running commands for commit a5b7754. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this CI Pipeline Execution


✅ Successfully ran 1 target

Sent with 💌 from NxCloud.

fpaul-1A
fpaul-1A previously approved these changes Jul 24, 2024
declarations: [TranslatePipeMock],
exports: [TranslatePipeMock]
})
@NgModule()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On this version of Angular (pre-module compilation) was it possible to declare a pipe coming from a built library?
If not you may need to provide an additional module declaring these removed pipes

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In fact outside the module you will have the pipe from the common module and not the overrided one without the export

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants