Open kamiyaHideki opened 9 months ago
Is options
a valid argument?
What structure did you want to implement with that [ {} ]
?
@MakS1mKa228
data class Command(val name:String, val description: String, val options: List<Option>? = null)
data class Option(val name:String, val description: String)
List<Option>
data class Option(val name:String, val description: String)
In TOML spec it's https://toml.io/en/v1.0.0#array-of-tables ([[options]])
But it is not yet supported in Ktoml...
List<Option>
data class Option(val name:String, val description: String)
In TOML spec it's https://toml.io/en/v1.0.0#array-of-tables ([[options]])
But it is not yet supported in Ktoml...
And exactly... this is considered an array of tables. How soon will this functionality be implemented?
Line 10: According to the TOML specification string values (even Enums) should be wrapped (start and end) with quotes (""), but the following value was not: <{ name = "user">.