S.
11/11/2024, 11:45 AMS.
11/11/2024, 11:46 AMS.
11/11/2024, 11:47 AMSamuel Vazquez
11/12/2024, 7:39 PMS.
11/12/2024, 9:14 PMS.
11/13/2024, 4:13 PMConflictingTypesException: Conflicting class names in schema generation [class com.example.TestError, class com.example.TestError]
sealed interface Err {
val message: String
}
data object TestError: Err {
override val message: String = "Test error"
}
class TestQueries : Query {
suspend fun test(): TestError = TestError
}
I don't understand how this can happen, as it is the same class/object even.Dariusz Kuc
11/13/2024, 9:07 PMTestError
classes in com.example
packageS.
11/13/2024, 9:09 PMmessage
property from the interface fixes it.Dariusz Kuc
11/13/2024, 9:11 PMDariusz Kuc
11/13/2024, 9:11 PMS.
11/13/2024, 9:27 PMS.
11/13/2024, 9:28 PMS.
11/13/2024, 9:31 PMS.
11/13/2024, 9:38 PMS.
11/18/2024, 5:54 PMYou have redefined the type 'TestError' from being a 'GraphQLObjectType' to a 'GraphQLObjectType'
Dariusz Kuc
11/18/2024, 6:09 PMTestError
objects in your schema -> check whether they are redefined twice in the same package (or packages) that is loaded by the testS.
11/18/2024, 6:20 PMNotFound
S.
11/18/2024, 6:22 PMShubo
12/23/2024, 4:45 AMShubo
12/30/2024, 7:45 AMInvalidPayloadException
class that was added in a previous commit and instead pass on the exception to Ktor's internal interceptor.
More details in comment: https://github.com/ExpediaGroup/graphql-kotlin/pull/2066/commits/d2a73476c36148c7b62d5e81929349cdb54afb7d#r1899342509AmandaHumla
01/15/2025, 2:10 PMShubo
01/16/2025, 12:37 AMSamuel Vazquez
01/16/2025, 12:49 AM