Open JohanNordlinder opened 1 year ago
Getting the following warning:
blankett.privatbostad' is not a valid 'Boolean' - Expected type 'Boolean' but was 'Enum'.
For this code, where input.privatbostad is of type public final val privatbostad: Boolean?.
public final val privatbostad: Boolean?
return dgsQueryExecutor.executeAndExtractJsonPathAsObject( """ mutation testcase { sparaHyrehusKopBlankett(auth: { lopnummer: 123456, kontrollnummer: 456789 }, blankett: { ovriga_upplysningar: "${input.ovriga_upplysningar}", namn_uppgiftsinlamnare: "${input.namn_uppgiftsinlamnare}", telefon_uppgiftsinlamnare: "${input.telefon_uppgiftsinlamnare}", privatbostad: ${input.privatbostad}, }] }) { ...${Utils.getHyreshusKopBlankettFragment()} } } """.trimIndent(), "data.sparaHyrehusKopBlankett", HyrehusKopBlankett::class.java )
Getting the following warning:
blankett.privatbostad' is not a valid 'Boolean' - Expected type 'Boolean' but was 'Enum'.
For this code, where input.privatbostad is of type
public final val privatbostad: Boolean?
.