-
Notifications
You must be signed in to change notification settings - Fork 57
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
Support use of reflectable in packages. #9
Comments
After discussing with Floitsch and eernst it seems we are going to generate all the data into the entry-point package. |
Hi, Could this problem be related to this SO question? http://stackoverflow.com/questions/40453569/use-dart-reflectable-on-external-lib I am having trouble with this right now :( |
I believe this issue is simply obsolete. We used to put the generated code in the same library as the target code (so if But this is long ago, today we generate one file and that file is capable of supplying mirrors for declarations in arbitrary files, or even built-in declarations like Closing this issue as obsolete now. Please create a new one if there is an interpretation of this issue which is still relevant. |
If we have a package e.g.
serialize
definingclass Serializable extends Reflectable
And another package imports this package and annotating its own classes
@Serializable() class A {}
. The transformer needs to know about class A when it transforms serializable.This is currently very hard given the way transformers work.
The text was updated successfully, but these errors were encountered: