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

Allow custom invokes to read raw input data when invoked without specific record #119

Merged
merged 1 commit into from
Aug 25, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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