GraphQlTester - ToEntity also converting data for sub-entities #1064
Labels
status: feedback-reminder
We've sent a reminder that we need additional information before we can continue
status: waiting-for-feedback
We need additional information before we can continue
status: waiting-for-triage
An issue we've not yet triaged
Hello!
I have been writing some integration tests for my example class:
In the test:
The variable entities the fields come all mapped correctly besides the associatedEntity that comes always at null, is there any way the conversion of data could "cascade" down to the sub entities?
If this is already implemented in another way it would be awesome to know as well.
Further clarification:
response.path("onSubscription[3]. associatedEntity").entity(AssociatedEntity::class.java).get(). I can get a No results for path: $['data']['onSubscription'][3]['associatedEntity'])
How could I verify if it has a value and then get it.
The text was updated successfully, but these errors were encountered: