mirror of
https://github.com/fankes/moshi.git
synced 2025-10-19 16:09:21 +08:00
Update KotlinPoet to 1.3.0 (#915)
* Update to KotlinPoet 1.3.0 * Add hotwords test case * Use %N for toJson parameter names to ensure escaping
This commit is contained in:
@@ -1223,5 +1223,11 @@ data class SmokeTestType(
|
||||
val genericAlias: GenericTypeAlias = listOf("Woah")
|
||||
)
|
||||
|
||||
// Compile only, regression test for https://github.com/square/moshi/issues/848
|
||||
@JsonClass(generateAdapter = true)
|
||||
data class Hotwords(
|
||||
val `class`: List<String>?
|
||||
)
|
||||
|
||||
typealias TypeAliasName = String
|
||||
typealias GenericTypeAlias = List<String>
|
||||
|
Reference in New Issue
Block a user