angular-pipes icon indicating copy to clipboard operation
angular-pipes copied to clipboard

Modules Imports issues

Open EsraaQandel opened this issue 3 years ago • 1 comments

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

EsraaQandel avatar Apr 14 '22 22:04 EsraaQandel

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

micaminoff avatar Jul 22 '22 07:07 micaminoff