Thanks to visit codestin.com
Credit goes to github.com

Skip to content

unshare / reshare #17

@leongrdic

Description

@leongrdic

I've been using auryn for a while now and literally just realized development has moved to this new repo.
I've created a router library that actually depends on auryn and I'm using it in a few projects in production. You can find my router here: https://github.com/leven-framework/router (not very well documented yet) - auryn is used in the RouteHandler class

here's what I wanted to ask. what's the opinion on unsharing or resharing objects? I've followed an issue in the old repo (rdlowrey/auryn#121) which kind of concluded that the option to share a different object of same class is a bug and will be prevented.

I haven't yet tested this new Injector but I'd like to point out that the ability to share an object of the same class again is very much useful in my router - for making a different MiddlewareCallback object available in each middleware of a route.

is there any chance this functionality could be supported officially?

thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions