Martin Brehovsky
10/26/2022, 8:12 PMID is now a value class. This makes a lot of sense, however it breaks one of our annotation processors - it cannot get annotations on properties with value class type (I asked why in kapt channel). Not sure if there is a quick fix for this in the annotation processor, so looking if it would be ok to wrap this ID in our own WorkaroundID class for now and add something to SchemaGeneratorHooks to emit this as an ID in the schema? Is this the right direction or is there a better solution to this problem? Thx!Dariusz Kuc
10/26/2022, 8:53 PMMartin Brehovsky
10/26/2022, 9:20 PMwillGenerateGraphQLType and return GraphQLTypeReference("ID") . Is this heading the right direction?Dariusz Kuc
10/26/2022, 9:21 PMMartin Brehovsky
10/26/2022, 9:22 PMDariusz Kuc
10/26/2022, 9:22 PMMartin Brehovsky
10/26/2022, 9:29 PMDariusz Kuc
10/26/2022, 10:44 PMDariusz Kuc
10/26/2022, 10:45 PMDariusz Kuc
10/26/2022, 10:46 PMDariusz Kuc
10/26/2022, 10:46 PMMartin Brehovsky
10/27/2022, 7:03 PMScalars.GraphQLID in SchemaGeneratorHooks and then inject a custom IDValueUnboxer to be able to translate to this ID. From 10k feet it looks like it should work, but still getting some some errors when running queries/mutations which use ID as a parameter:
SimpleDataFetcherExceptionHandler - Exception while fetching data (/updateConsumerAddress) : argument type mismatch
Read path seems to work fine.Adam Firen
11/02/2022, 6:08 PM