Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

Injecting custom type components #125

Closed
@tadas-subonis

Description

@tadas-subonis

If I want to inject my own written custom Class, it fails after building to JS, if a class it isn't annotated.

To make it work across all browsers I need to add:

import 'package:di/annotations.dart';

@Injectable()
class MyClass {
}

This needs to be mentioned somewhere in the docs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions