Skip to content
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

[BUG] Dart code (seems to) need dartson #2830

Closed
ExplicitlyImplicit opened this issue May 6, 2019 · 3 comments · Fixed by #3656
Closed

[BUG] Dart code (seems to) need dartson #2830

ExplicitlyImplicit opened this issue May 6, 2019 · 3 comments · Fixed by #3656

Comments

@ExplicitlyImplicit
Copy link

When using enums it seems that the generated dart code references stuff in the dartson package:

final List<dynamic> listResult = dson.map(listValue, []);

class {{classname}}TypeTransformer extends TypeTransformer<{{classname}}> {

But it does not include it in the pubspec.

Is this by design and how can I fix it?

Thank you for your help!

@wing328
Copy link
Member

wing328 commented May 6, 2019

@ExplicitlyImplicit thanks for reporting the issue.

cc @ircecho (2017/07) @swipesight (2018/09) @jaumard (2018/09)

@rvowles
Copy link

rvowles commented Jun 1, 2019

this would be relatively easy to fix

@rvowles rvowles mentioned this issue Jun 1, 2019
@rvowles
Copy link

rvowles commented Jun 9, 2019

Given the sluggish nature of release @ExplicitlyImplicit - I put my stuff in a dependency you can use in Maven if you use Maven. https://github.com/ClearPointNZ/connect-java/tree/master/maven-plugins/openapi-dart-plugin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants