- 
                Notifications
    You must be signed in to change notification settings 
- Fork 699
Provide invocation arguments for RepositoryMethodInvocation #2681
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
base: main
Are you sure you want to change the base?
Conversation
|  | ||
| /** | ||
| * {@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  | 
|  | ||
| 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
  
    646e077    to
    6ac5cf8      
    Compare
  
    
See #2677 for more information about this PR.