-
Notifications
You must be signed in to change notification settings - Fork 353
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
…1952) ### 📝 Description #### Problem after graphql-kotlin 7.1.0, the following `GraphQLRequest` our team uses started to fail. ```kotlin GraphQLRequest( "query(${'$'}id: ID!) { ... }", variables = mapOf("id" to ID("1")) ) ``` this is because `kotlinx.serialization` is recently introduced instead of Jackson, but `ID` serialization is missing, so it is converted to `JsonNull`. since `ID` is built-in scalar type, i think `ID` serialization should be supported. #### Solution add serialization logic to `AnyNullableKSerializer` ### 🔗 Related Issues N/A
- Loading branch information
1 parent
d5c312f
commit 09eec6d
Showing
2 changed files
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters