You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Paul Wilkinson (Jira)" <ji...@apache.org> on 2025/10/05 18:53:00 UTC
[jira] [Commented] (THRIFT-5712) Add Dart 3 compatibility
[ https://issues.apache.org/jira/browse/THRIFT-5712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18024806#comment-18024806 ]
Paul Wilkinson commented on THRIFT-5712:
----------------------------------------
I got stuck on the last 1 or 2 tests. There was some very idiomatic much dart 2 specific code that I didn’t understand.
> 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
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> 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)