Stylianos Gakis
03/19/2023, 6:35 PM!
from that specific query response type?mbonnin
03/19/2023, 6:40 PMmbonnin
03/19/2023, 6:41 PMStylianos Gakis
03/19/2023, 6:51 PM!
?mbonnin
03/19/2023, 6:55 PMmbonnin
03/19/2023, 6:55 PMStylianos Gakis
03/19/2023, 6:57 PMStylianos Gakis
07/16/2024, 1:07 PMmbonnin
07/16/2024, 1:10 PMStylianos Gakis
07/16/2024, 1:11 PMdirective @optional(if: Boolean = true) on FIELD | VARIABLE_DEFINITION
in here https://specs.apollo.dev/kotlin_labs/v0.3/#@optional 👀mbonnin
07/16/2024, 1:11 PMmbonnin
07/16/2024, 1:12 PMStylianos Gakis
07/16/2024, 1:14 PMmbonnin
07/16/2024, 1:16 PM!
manually is still the way to goStylianos Gakis
07/16/2024, 1:19 PM@catch(to: NULL)
, it would still not be turned into null, since the error is not on the "errors" list, but it's a nullability problem I assume?mbonnin
07/16/2024, 1:21 PMIf a non-null field is annotated with this newIn the current implementation, adding,@catch(to: NULL)
@catch
to a non-null field isn’t helping because the field itself isn’t wrapped in an ErrorAwareAdapter (because it’s never supposed to be an error)mbonnin
07/16/2024, 1:22 PMmbonnin
07/16/2024, 1:23 PMmbonnin
07/16/2024, 1:25 PMmbonnin
07/16/2024, 1:25 PMStylianos Gakis
07/16/2024, 1:31 PMWait, this is why you had to rewrite your schema, right? (that other thread about ApolloDownloadSchemaTaskActually my original reason is that I wanted the schema to not have double line breaks https://github.com/HedvigInsurance/android/blob/82da9c63ae3523f8d06bda1fa595628ef6[…]uild-logic/convention/src/main/kotlin/ApolloConventionPlugin.kt purely for reasons of readability, and I do not regret it a single bit that I am pulling off accessing internal things shenanigans just for this 😂 This mistake on the backend is just a temporary thing which will be fixed anyway but I wanted to make it easier on me for now, that's all 😄
Stylianos Gakis
07/16/2024, 1:31 PM