Creating a DTO incorrectly causes process to die; no errors anywhere to suggest why. #874
Replies: 1 comment
-
I still think this behaviour is undesirable, but if I set |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
I was running a test and got an error like this:
I traced it my DTO below:
I reproduced the creation via tinker and the process just dies without logging anywhere:
Now the problem of course is that I needed to add a SnakeCaseMapper to the DTO but it wasn't ideal that nothing anywhere told me the creation of the DTO was the issue. I'd have expected an exception at least. Am I doing something wrong? Is there a way to get an exception to be thrown rather than it behaving as it does currently?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions