Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can use a service as a @Transient? #51

Closed
hirsch88 opened this issue Feb 15, 2018 · 2 comments
Closed

How can use a service as a @Transient? #51

hirsch88 opened this issue Feb 15, 2018 · 2 comments

Comments

@hirsch88
Copy link

Hi,

Awesome library. I really like it. 👍
However, I am wondering how can I declare a services as transient?

Cheers,
Gery

pleerock pushed a commit that referenced this issue Feb 22, 2018
@pleerock
Copy link
Contributor

Available as of 0.7.0:

        @Service({ transient: true })
        class Engine {
            public serial = Math.random();
        }

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 31, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants