ory / sdk

The place where ORY's SDKs are being auto-generated
Apache License 2.0
141 stars 85 forks source link

fix: generate with dart instead of dart-dio [dart] #202

Closed AllenKaplan closed 2 years ago

AllenKaplan commented 2 years ago

Description

Current ory sdk for dart generation uses dart-dio which does not support null safety intrduced in Dart 2.12. As Flutter 3 requires Dart's null safety, it is a blocking issue for the ory sdk to not support Flutter 3. The change uses the "default" Dart generator dart instead of dart-dio

Related Issue or Design Document

Ory & Dart's null safety is discussed here https://github.com/ory/cloud/issues/13

Checklist

Further comments

Full disclosure I have not tested generating Ory SDK with dart over dart-dio 🙊

AllenKaplan commented 2 years ago

Awesome, thank you for your contribution! I've got one question though :)

@aeneasr responded :)