Describe the bug
I am so bummed, I almost got mixin inheritance to work after I tackled many many details, but had to retreat because of this issue.
To Reproduce
f of type U wit {"nullable": true}. In my exact case withId etc.Expected behavior
f, it shows it as f! and of course this causes all kinds of issues.Environment (please complete the following information):
@gae123
1) Please use the latest 0.18.0-beta.15 release
2) Please create a minimal reproducible code example - I can't compile f, T and U in my head 馃槣
@MichalLytek does type-graphql have a testing framework? If it does the best would be to try to add a test case there that fails and then when there is a fix, it should succeed.
Of course you can create a new test file with your use case and a failing test case to show what is the problem 馃槈
@MichalLytek a testing framework is part of the build system of a project, if you have one, pls point me to the README to understand how to contribute to it when I find the time.
If you do not you should stop everything else and do so, this stuff is too complicated not to automatically run regression tests on every change. You will be fixing/improving one thing while breaking another and you have a hard time accepting any PR from others. Let alone when you change version of typescript etc.
@gae123 Have you at least check the files in the repository?
I can see a big tests folder there! 馃槺

to understand how to contribute to it when I find the time
It's a standard Jest setup, nothing to explain.
There was plenty of PR from external contributors that has managed to create proper tests:
https://github.com/MichalLytek/type-graphql/pulls?q=is%3Apr+sort%3Aupdated-desc+is%3Aclosed+no%3Aassignee
You have two options:
1) Create a repository with a minimal reproducible code example.
2) Create a pull request with a failing test case that reproduce the issue.
Otherwise, I'm gonna close this issue as invalid.
This is a very valid issue, you should not close a valid issue just because a user does not have the time to give you a reproducible case. Other users might run into it. I will try to find time but I am not sure when.
This is a very valid issue
I understand that, but for me this issue looks like:
So yes, not properly reported issue in invalid and will be closed as I can't fix the issue if I don't know what is the real problem and you don't have time to make a proper report.
If you find some time to write a failing test case or create a repository with reproducible code example and a proper bug description, please open a new issue.
Closing this one 馃敀
Whatever makes you feel good @MichalLytek but nobody succeeds in open source pooping on its users. Appreciate any little feedback they can afford to give you, don't be arrogant.