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

json_serializable_generator can't find serializable classes #35

Closed
luizmineo opened this issue Feb 20, 2015 · 2 comments
Closed

json_serializable_generator can't find serializable classes #35

luizmineo opened this issue Feb 20, 2015 · 2 comments

Comments

@luizmineo
Copy link

I've created the following dart package to test source_gen:

https://github.com/luizmineo/source_gen_test

It contains a build.dart script, which is invoked by DartEditor, and the lib/example_json.dart library, which has a serializable class. When modifying this file, lib/example_json.g.dart should be created, but it seems that source_gen can't find the Person class in example_json.dart, and nothing happens.

@kevmoo
Copy link
Member

kevmoo commented Feb 21, 2015

Fix published as 0.2.1 - https://pub.dartlang.org/packages/source_gen

Please confirm. Thanks for the report!

@luizmineo
Copy link
Author

It's working fine now. Thanks!

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

Successfully merging a pull request may close this issue.

2 participants