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

OmitType not respecting deep parent class after compiled to webpack #433

Closed
asomethings opened this issue Aug 10, 2021 · 1 comment
Closed

Comments

@asomethings
Copy link

I'm submitting a...


[ ] Regression 
[x] Bug report
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead post your question on Stack Overflow.

Current behavior

It respects parent's class but it does not respect parent class's parent class when it's packed to webpack

Expected behavior

It should respect every parent class

Minimal reproduction of the problem with instructions

https://github.com/asomethings/mapped-types-webpack-bug

What is the motivation / use case for changing the behavior?

Well, I have a lot of multiple base classes and use them extending a lot. So I hope the bug gets fixed.

Environment


Nest version: 8.0.9

 
For Tooling issues:
- Node version: 14
- Platform:  Linux Ubuntu 20.04

Others:
@kamilmysliwiec
Copy link
Member

image

Tested on a pure NestJS typescript-starter and it works fine. This must be caused by your webpack configuration.

Please, use our Discord channel (support) for such questions. We are using GitHub to track bugs, feature requests, and potential improvements.

@nestjs nestjs locked and limited conversation to collaborators Aug 11, 2021
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