-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
KCBC-179 KotlinxSerializationJsonSerializer does not work with Query …
…parameters Motivation ---------- Prior to this change, it's impossible to use our experimental `kotlinx.serialization` integration to set query parameters. kotlinx.serialization refuses to serialize anything unless you give it precise type information. Modifications ------------- Add `named` and `positional` query parameter overloads that capture the type info required by `kotlinx.serialization`. Deprecated the existing `named` and `positional` methods. Added a `namedFrom` method that gets named parameters by serializing a parameter block object provided by the user. Change-Id: I057096e3b3aa77be40909fe833b83afa172a31b4 Reviewed-on: https://review.couchbase.org/c/couchbase-jvm-clients/+/222472 Reviewed-by: G. Blake Meike <[email protected]> Tested-by: Build Bot <[email protected]>
- Loading branch information
Showing
3 changed files
with
211 additions
and
41 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
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