GithubHelp home page GithubHelp logo

Comments (3)

teddyzeenny avatar teddyzeenny commented on May 16, 2024

Identifying controllers that don't have routes is a bit tricky at the moment, especially in module based resolvers such as EAK. I plan on working a bit on the the container to support this kind of lookups, so maybe be can revisit this then.

As for identifying generated / defined controllers, you can do that by opening the Routes tab on page load and hovering over the controllers. Controllers that will be generated will not be clickable (inspectable).

from ember-inspector.

eccegordo avatar eccegordo commented on May 16, 2024

OK thanks.
Makes sense about the module stuff obfuscating the important information. Still trying to better understand containers myself. Just out of curiosity, is this something that might be accomplished via inspection of the __container__.registry maybe that is a fruitful path?

Anyway closing this ticket for now. We can reopen in the future as feasibility increases.

from ember-inspector.

teddyzeenny avatar teddyzeenny commented on May 16, 2024

The registry contains manually registered factories (container.register('store:main', App.Store)) which does not include controllers (except generated controllers and only after first lookup).

from ember-inspector.

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.