-
Notifications
You must be signed in to change notification settings - Fork 678
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
Provide invocation arguments for RepositoryMethodInvocation #2681
base: main
Are you sure you want to change the base?
Conversation
@@ -56,7 +56,7 @@ public void notifyListeners(Method method, Object[] args, RepositoryMethodInvoca | |||
|
|||
/** | |||
* {@link RepositoryInvocationMulticaster} implementation that notifies {@link RepositoryMethodInvocationListener} | |||
* upon {@link #notifyListeners(Method, Object[], RepositoryMethodInvocationResult)}. |
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.
I just fixed this broken JavaDoc which I noticed along the way, it's not directly related to this pr.
I put the new |
@@ -197,6 +197,7 @@ void capturesImperativeSuccessCorrectly() throws Exception { | |||
|
|||
assertThat(multicaster.first().getResult().getState()).isEqualTo(State.SUCCESS); | |||
assertThat(multicaster.first().getResult().getError()).isNull(); | |||
assertThat(multicaster.first().getArguments()).isNotNull(); |
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.
I felt like its appropriate to check all state case results should have arguments present, any thoughts on this? I could make this a more explicit check if you want.
fe5e80e
to
98f20a4
Compare
0122d1b
to
5070a0f
Compare
See #2677 for more information about this PR.