Skip to content
This repository has been archived by the owner on Feb 23, 2023. It is now read-only.

Modules Imports issues #115

Open
EsraaQandel opened this issue Apr 14, 2022 · 1 comment
Open

Modules Imports issues #115

EsraaQandel opened this issue Apr 14, 2022 · 1 comment

Comments

@EsraaQandel
Copy link

I'm submitting a ... (check one with "x")

[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request

Current behavior

Importing NgPipesModule doesn't import NgAbsPipeModule and even importing NgMathPipesModule doesn't import NgAbsPipeModule. I have to explicitly import NgAbsPipeModule for the abs pipe to work.

Expected behavior

Each category of pipes has an exported module. And one module imports all these modules.
So for example, importing NgMathPipesModule should import the NgAbsPipeModule.
Moreover, importing the NgPipesModule should import ALL modules.

Minimal reproduction of the problem with instructions

1- import NgMathPipesModule or NgPipesModule
2- use the abs pipe in a template i.e.

{{someValue | abs }}


3- it won't work and throw an error that such pipe doesn't exist.
note: using angular v11

@micaminoff
Copy link

Having the same issue with angular 14 with NgArrayPipesModule and join not being a recognized pipe

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants