-
Notifications
You must be signed in to change notification settings - Fork 235
feat: record desired state in Context #3082
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
Conversation
Signed-off-by: Chris Laprun <[email protected]>
| } | ||
|
|
||
| @SuppressWarnings("unchecked") | ||
| public <R> R getOrComputeDesiredStateFor( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMO this should be addded under defaultManagedDependentResourceContext , logically relates to that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is used for non-managed dependent resources as well: it's used everywhere desired is used and this isn't part of the public API anyway. It's only public because it's used in different packages but otherwise it would have been a package-only method.
|
Not sure if the test coverage is good enough this way, but let it be up to you to judge. |
Signed-off-by: Chris Laprun <[email protected]>
|
Hmm, looks like the expectation tests are flaky… |
Signed-off-by: Chris Laprun <[email protected]>
Signed-off-by: Chris Laprun <[email protected]>
Signed-off-by: Chris Laprun [email protected]