You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The actual validation errors could be inside of the response which is returned by result.getValidationError(lasSeqNr). This method is actually returning the response/result.
The text was updated successfully, but these errors were encountered:
alar17
changed the title
getValidationError on the result interface is returning the result
getValidationError in the result interface is returning the result
Mar 14, 2018
alar17
changed the title
getValidationError in the result interface is returning the result
getValidationError in the result interface is returning the response
Mar 14, 2018
It is... but it is a response indicating there was a validation error. It's up to the implementation whether the validation error IS the response, or IS CONTAINED IN the response.
That's why the actual reply message type is Object.
I think we can only make this more clear if we add a 4th type parameter to CommandHandler and friends, i.e. the reply message type...which would then also always have to be the same type for all commands. It's 99% true for where we use this, but not sure about 100%...
The actual validation errors could be inside of the response which is returned by
result.getValidationError(lasSeqNr)
. This method is actually returning the response/result.ts-reaktive/ts-reaktive-actors/src/main/java/com/tradeshift/reaktive/actors/CommandHandler.java
Line 127 in 2283964
The text was updated successfully, but these errors were encountered: