-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
4:1: Error: A library can't opt out of null safety by default, when using sound null safety. // @dart=2.0 #13
Comments
Hi @ADLsourceCode, thanks for using our client. Which version of Dart do you use? Regards |
hi @bednar environment: Flutter 2.2.2 • channel stable • https://github.com/flutter/flutter.git |
@ADLsourceCode thanks for quick response. How do you build your project? Do you use configured web compilers (https://github.com/dart-lang/build/blob/master/build_web_compilers/README.md#configuring-the-sound-null-safety-mode)? |
Hi @bednar , |
@ADLsourceCode thanks for detail info, @rhajek will take a look |
Unfortunately, we generate apis from swagger using |
What do you suggest me to do in order to solve this problem?
…On Tue, Oct 12, 2021 at 3:34 PM Robert Hajek ***@***.***> wrote:
Unfortunately, we generate apis from swagger using openapi-generator that
still does not support null safety,
OpenAPITools/openapi-generator#8278
<OpenAPITools/openapi-generator#8278>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#13 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJ2BSKHC7ONYCJZVEZK2E2TUGQBZPANCNFSM5FTYHIZQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
As a temporary workaround you can disable sound null safety. |
Give me the below error while building the app:-
package/influxdb-client/lib/model/write_precision.dart:4:1: Error: A library can't opt out of null safety by default, when using sound null safety. // @dart=2.0 ^^^^^^^^^^^^
this error comes in many files on the package... Kindly guide me
@pauldix @brettbuddin @mkmik @stuartcarnie @rockstar
The text was updated successfully, but these errors were encountered: