Code Monkey home page Code Monkey logo

Comments (3)

Fireboltofdeath avatar Fireboltofdeath commented on July 29, 2024 1

This will be a feature in the new modding API 70bdc65 which also includes other ways to augment dependency resolution (even completely overwriting Flamework's)

from core.

caneva20 avatar caneva20 commented on July 29, 2024 1

Sorry for the way too late response.

I'll have a look at the modding API and check what can be done with it, based on your second reply it seems to be what I was looking for, I'll let you know, thanks!

As to why I didn't use a controller/service, the reason is, I did use it, but it is not as great/simple as just throwing it into the container and just have it whenever I request one. The option I have right now is to create a wrapper as a controller/service for every external dependency I might want to use, it isn't a horrible option, it just isn't as great

from core.

Fireboltofdeath avatar Fireboltofdeath commented on July 29, 2024

Currently, Flamework has an in-beta modding system (modding-v2 branch on relevant repositories, modding release on relevant npm packages) which allows you to specify custom decorators on classes which can then be resolved as singletons. Is this the behavior you desire, or do you specifically need to link an ID to a specific object for dependency injection?

Also, is there a reason you don't want to use a Service/Controller here?

from core.

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.