dapr / dapr/java-sdk

allow ability to inject constructor arguments when registering actor classes

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

Description

`actorRuntime.registerActor(SomeEntity.class);` doesn't allow you to inject constructor arguments inside `SomeEntity`. Using
`getDeclaredConstructor().newInstance()` or similar approach we should be able to allow constructor arguments whilst registering actor classes.

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.