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
Require cycle warning #358
Comments
I'm having it to, @jotamorais is it something that can easily be fixed ? |
Having same issue here any plans to fix this? Otherwise I will have to fork this project and fix it |
@jotamorais any plans on fixing this issue? |
We are reviewing a few PRs that we need to merge and also preparing a release with a those PRs and then we will start tackling these issues. I appreciate your understanding and will keep you posted once the release is out. |
I will try to propose a PR |
https://github.com/typestack/class-transformer/pull/375/files should do the trick |
…parate file because: * TransformationType enum is used by both TransformOperationExecutor and MetadataStorage * TransformationType was in the same file as TransformOperationExecutor * TransformOperationExecutor require MetadataStorage so: importing TransformationType from TransformOperationExecutor.ts was as a side effect importing MetadataStorage.ts that was importing TransformationType etc. creating a cycle
…parate file because: * TransformationType enum is used by both TransformOperationExecutor and MetadataStorage * TransformationType was in the same file as TransformOperationExecutor * TransformOperationExecutor require MetadataStorage so: importing TransformationType from TransformOperationExecutor.ts was as a side effect importing MetadataStorage.ts that was importing TransformationType etc. creating a cycle
…parate file because: * TransformationType enum is used by both TransformOperationExecutor and MetadataStorage * TransformationType was in the same file as TransformOperationExecutor * TransformOperationExecutor require MetadataStorage so: importing TransformationType from TransformOperationExecutor.ts was as a side effect importing MetadataStorage.ts that was importing TransformationType etc. creating a cycle
…parate file because: * TransformationType enum is used by both TransformOperationExecutor and MetadataStorage * TransformationType was in the same file as TransformOperationExecutor * TransformOperationExecutor require MetadataStorage so: importing TransformationType from TransformOperationExecutor.ts was as a side effect importing MetadataStorage.ts that was importing TransformationType etc. creating a cycle
…parate file because: * TransformationType enum is used by both TransformOperationExecutor and MetadataStorage * TransformationType was in the same file as TransformOperationExecutor * TransformOperationExecutor require MetadataStorage so: importing TransformationType from TransformOperationExecutor.ts was as a side effect importing MetadataStorage.ts that was importing TransformationType etc. creating a cycle
…parate file because: * TransformationType enum is used by both TransformOperationExecutor and MetadataStorage * TransformationType was in the same file as TransformOperationExecutor * TransformOperationExecutor require MetadataStorage so: importing TransformationType from TransformOperationExecutor.ts was as a side effect importing MetadataStorage.ts that was importing TransformationType etc. creating a cycle
Fixed in #380. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Probably minor, but a still a bit of a red flag: I'm getting the build warning about cyclic dependencies - maybe this can be optimized?
The text was updated successfully, but these errors were encountered: