Skip to content

[inversify-binding-decorators] suggest: export constants #203

@luizmacfilho

Description

@luizmacfilho

Expected Behavior

Like InversifyJS, the 'inversify-binding-decorators' should exports constants as METADATA_KEY

Current Behavior

The constants are not exported

Possible Solution

index.d.ts

(...)
import { METADATA_KEY } from "./constants";
(...)
export { METADATA_KEY };

Context

I'm trying to delete a metadata after buildProviderModule() is called.
To use Reflect.deleteMetadata(metadataKey, target), I need the 'inversify-binding-decorators' metadata keys.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions