Skip to content
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.

Commit

Permalink
Allow custom invokes to read raw input data when invoked without spec…
Browse files Browse the repository at this point in the history
…ific record
  • Loading branch information
Dergash authored and abratashev committed Aug 25, 2020
1 parent 0471f54 commit 8779092
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ record = updateEntity(bc, data).getRecord();
record = doGetOne(bc);
}
}
return action.invoke(bc, record);
return action.invoke(bc, Optional.ofNullable(record).orElse((T)data));
}


Expand Down

0 comments on commit 8779092

Please sign in to comment.