avro-kotlin / avro4k

Avro format support for Kotlin
Apache License 2.0
197 stars 37 forks source link

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

Closed Chuckame closed 1 year ago

Chuckame commented 1 year 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!