You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@avro.apache.org by "Peter Knuts (Jira)" <ji...@apache.org> on 2022/10/19 10:58:00 UTC

[jira] [Comment Edited] (AVRO-3641) Add support for Nullable and NotNull annotations for SpecificRecords

    [ https://issues.apache.org/jira/browse/AVRO-3641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17620194#comment-17620194 ] 

Peter Knuts edited comment on AVRO-3641 at 10/19/22 10:57 AM:
--------------------------------------------------------------

More info available here: [https://www.jetbrains.com/help/idea/nullable-and-notnull-annotations.html]

When using the generated code in Kotlin, it will automatically enable compile time safety for nullable fields.


was (Author: JIRAUSER297007):
More info available here: [https://www.jetbrains.com/help/idea/nullable-and-notnull-annotations.html]

When using the generated code for Kotlin, it will automatically enable compile time safety for nullable fields.

> Add support for Nullable and NotNull annotations for SpecificRecords
> --------------------------------------------------------------------
>
>                 Key: AVRO-3641
>                 URL: https://issues.apache.org/jira/browse/AVRO-3641
>             Project: Apache Avro
>          Issue Type: New Feature
>          Components: java
>            Reporter: Peter Knuts
>            Priority: Major
>
> Update the Java SpecificCompiler to add support for jetbrains {{@Nullable}} and {{@NotNull}} annotations to getters, setters, builders and all-arg constructor. This will provide compile time safety for nullability when used.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)