avro-kotlin / avro4k

Avro format support for Kotlin
Apache License 2.0
188 stars 36 forks source link

fix(annotations): Set the `@Language` value to `JSON` #157

Closed Chuckame closed 10 months ago

Chuckame commented 10 months ago

tested AvroJsonProp on my computer and the json language injection is not working. After a quick check, tldr: replace @Language("json") by @Language("JSON"). Longer story: language injection is done by intellij, and we can find all the languages in Parameters > Editor > Language injections. We should set a value found inside the Language column, where we can only find JSON and not json, maybe it's case sensitive!

If still not working, let's remove the annotation then!