dapr / dapr/java-sdk

Can an Actor implementation reference @Autowired fields?

Open
#838 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
300
Forks
230
Avg merge
1d 20h
Merged PRs (30d)
4

Description

My implementation of an Actor has references to @Autowired fields for various singleton classes. I have checked in the SpringBoot debug log that they are being instantiated. However, the Autowired reference in the Actor implementation is null.

Is there some sort of annotation I am missing to make this scenario work?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.