https://kotlinlang.org logo
#graphql-kotlin
Title
# graphql-kotlin
l

Lenny

06/04/2020, 4:18 PM
just hit a snag though: after i introduced a second operation, i started getting a compilation error because both generated files include
typealias ID = String
so i’m getting
error: redeclaration: ID
… any ideas?
d

Dariusz Kuc

06/04/2020, 4:59 PM
oh i think this might have been an oversight from our side
so the
typelias ID
is generated per file and since they are in the same package they will clash
it will be the same issue for custom scalars
can you open up an issue against GH repo?
l

Lenny

06/04/2020, 5:16 PM
will do!
d

Dariusz Kuc

06/04/2020, 5:26 PM
thnx!
2 Views