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

Jens Geyer commented on THRIFT-5712:
------------------------------------

{quote}

Add an __isset struct like in the cpp generator but it will only contain 
required fields.

{quote}

__isset is usually used for *optional* or *default* requiredness only. 

Required fields do not need an __isset, because they {*}must be set by 
definition{*}. 

 

> Add Dart 3 compatibility
> ------------------------
>
>                 Key: THRIFT-5712
>                 URL: https://issues.apache.org/jira/browse/THRIFT-5712
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Dart - Compiler
>    Affects Versions: 0.18.1
>            Reporter: Vlad Koronnov
>            Priority: Major
>
> Dart project generated by thrift has constraints in pubspec.yaml
>  
> {code:java}
> name: dart_client
> version: 0.0.1
> description: Autogenerated by Thrift Compiler
> environment:
>   sdk: '>=2.12.0 <3.0.0' {code}
>  
>  
> And generated code uses uninitialized variables, which can't be used with 
> sound null safety, required by Dart 3.0



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

Reply via email to