This repository has been archived by the owner on Mar 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 62
Support for path/query parameters #39
Comments
As a workaround, I added |
this does not affect this library and it is not a bug either, but it is a misuse |
@sschuberth first this things impact retrofit and not this converter second, retrofit call toString() to create the final string, adding "toString" is not a woraround but the correct way |
@JakeWharton you can close this UNissue |
The issue is with inline classes and value classes, based on they are a wrapper over a type, having to manually write Basically is simplifying this article from Jake on Retrofit https://jakewharton.com/inline-classes-make-great-database-ids/ Not sure how they are working at this moment in Sqldelight tho. |
sschuberth
added a commit
to oss-review-toolkit/ort
that referenced
this issue
May 2, 2022
Note that Retrofit calls `toString()` to convert enums used as part of @get paths to strings. In particular, Retrofit does not use the underlying serializer's string representation. Also see [1]. [1]: JakeWharton/retrofit2-kotlinx-serialization-converter#39 Signed-off-by: Sebastian Schuberth <sebastian.schuberth@bosch.io>
sschuberth
added a commit
to oss-review-toolkit/ort
that referenced
this issue
May 3, 2022
Note that Retrofit calls `toString()` to convert enums used as part of @get paths to strings. In particular, Retrofit does not use the underlying serializer's string representation. Also see [1]. [1]: JakeWharton/retrofit2-kotlinx-serialization-converter#39 Signed-off-by: Sebastian Schuberth <sebastian.schuberth@bosch.io>
sschuberth
added a commit
to oss-review-toolkit/ort
that referenced
this issue
May 16, 2022
Note that Retrofit calls `toString()` to convert enums used as part of @get paths to strings. In particular, Retrofit does not use the underlying serializer's string representation. Also see [1]. [1]: JakeWharton/retrofit2-kotlinx-serialization-converter#39 Signed-off-by: Sebastian Schuberth <sebastian.schuberth@bosch.io>
sschuberth
added a commit
to oss-review-toolkit/ort
that referenced
this issue
May 16, 2022
Note that Retrofit calls `toString()` to convert enums used as part of @get paths to strings. In particular, Retrofit does not use the underlying serializer's string representation. Also see [1]. [1]: JakeWharton/retrofit2-kotlinx-serialization-converter#39 Signed-off-by: Sebastian Schuberth <sebastian.schuberth@bosch.io>
sschuberth
added a commit
to oss-review-toolkit/ort
that referenced
this issue
May 17, 2022
Note that Retrofit calls `toString()` to convert enums used as part of @get paths to strings. In particular, Retrofit does not use the underlying serializer's string representation. Also see [1]. [1]: JakeWharton/retrofit2-kotlinx-serialization-converter#39 Signed-off-by: Sebastian Schuberth <sebastian.schuberth@bosch.io>
sschuberth
added a commit
to oss-review-toolkit/ort
that referenced
this issue
May 17, 2022
Note that Retrofit calls `toString()` to convert enums used as part of @get paths to strings. In particular, Retrofit does not use the underlying serializer's string representation. Also see [1]. [1]: JakeWharton/retrofit2-kotlinx-serialization-converter#39 Signed-off-by: Sebastian Schuberth <sebastian.schuberth@bosch.io>
sschuberth
added a commit
to oss-review-toolkit/ort
that referenced
this issue
May 17, 2022
Note that Retrofit calls `toString()` to convert enums used as part of @get paths to strings. In particular, Retrofit does not use the underlying serializer's string representation. Also see [1]. [1]: JakeWharton/retrofit2-kotlinx-serialization-converter#39 Signed-off-by: Sebastian Schuberth <sebastian.schuberth@bosch.io>
sschuberth
added a commit
to oss-review-toolkit/ort
that referenced
this issue
May 17, 2022
Note that Retrofit calls `toString()` to convert enums used as part of @get paths to strings. In particular, Retrofit does not use the underlying serializer's string representation. Also see [1]. [1]: JakeWharton/retrofit2-kotlinx-serialization-converter#39 Signed-off-by: Sebastian Schuberth <sebastian.schuberth@bosch.io>
sschuberth
added a commit
to oss-review-toolkit/ort
that referenced
this issue
May 17, 2022
Note that Retrofit calls `toString()` to convert enums used as part of @get paths to strings. In particular, Retrofit does not use the underlying serializer's string representation. Also see [1]. [1]: JakeWharton/retrofit2-kotlinx-serialization-converter#39 Signed-off-by: Sebastian Schuberth <sebastian.schuberth@bosch.io>
sschuberth
added a commit
to oss-review-toolkit/ort
that referenced
this issue
May 23, 2022
Note that Retrofit calls `toString()` to convert enums used as part of @get paths to strings. In particular, Retrofit does not use the underlying serializer's string representation. Also see [1]. [1]: JakeWharton/retrofit2-kotlinx-serialization-converter#39 Signed-off-by: Sebastian Schuberth <sebastian.schuberth@bosch.io>
porsche-rbieniek
pushed a commit
to porsche-rbieniek/ort
that referenced
this issue
Jun 24, 2022
Note that Retrofit calls `toString()` to convert enums used as part of @get paths to strings. In particular, Retrofit does not use the underlying serializer's string representation. Also see [1]. [1]: JakeWharton/retrofit2-kotlinx-serialization-converter#39 Signed-off-by: Sebastian Schuberth <sebastian.schuberth@bosch.io>
porsche-rbieniek
pushed a commit
to porsche-rbieniek/ort
that referenced
this issue
Jun 27, 2022
Note that Retrofit calls `toString()` to convert enums used as part of @get paths to strings. In particular, Retrofit does not use the underlying serializer's string representation. Also see [1]. [1]: JakeWharton/retrofit2-kotlinx-serialization-converter#39 Signed-off-by: Sebastian Schuberth <sebastian.schuberth@bosch.io>
porsche-rbieniek
pushed a commit
to porsche-rbieniek/ort
that referenced
this issue
Jun 27, 2022
Note that Retrofit calls `toString()` to convert enums used as part of @get paths to strings. In particular, Retrofit does not use the underlying serializer's string representation. Also see [1]. [1]: JakeWharton/retrofit2-kotlinx-serialization-converter#39 Signed-off-by: Sebastian Schuberth <sebastian.schuberth@bosch.io>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I am using strongly typed ids (currently with data class until inline class support is available):
The text was updated successfully, but these errors were encountered: