Coder Social home page Coder Social logo

Comments (3)

sigurdm avatar sigurdm commented on July 1, 2024

After discussing with Floitsch and eernst it seems we are going to generate all the data into the entry-point package.

from reflectable.dart.

jodinathan avatar jodinathan commented on July 1, 2024

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 :(

from reflectable.dart.

eernstg avatar eernstg commented on July 1, 2024

I believe this issue is simply obsolete.

We used to put the generated code in the same library as the target code (so if class C was in library c.dart then the corresponding class mirror class etc. would also be in c.dart). This makes it possible to support private features, but it prevents generation of mirrors for declarations in other packages (because a transformer can't edit files in other packages).

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 int and dynamic (but in return we cannot access private features).

Closing this issue as obsolete now. Please create a new one if there is an interpretation of this issue which is still relevant.

from reflectable.dart.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.