Skip to content

bug: reflection doesn't work with param decorators #6

@Hotell

Description

@Hotell

after #3 was closed, injection-js will pass although app will error out.
Everything is annotated properly ( I have tests for it and it works with reflect-metadata )

Issue might be with injecting non Class references via @Inject() param decorator. Just shooting in the dark here...

image

axios-http source:

https://github.com/Hotell/axios-http/blob/master/src/interceptor.ts#L49-L52

You can test it here:

https://codesandbox.io/s/6zx71n084n

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions