carnival-data / carnival

JVM property graph data unification framework
https://carnival-data.github.io/carnival/
GNU General Public License v3.0
7 stars 2 forks source link

GraphMethod make result optional #50

Closed augustearth closed 3 years ago

augustearth commented 3 years ago

The method: Map execute(...)

is a pain. The result generally does not mean much and is just boilerplate. Add a setResult() method that can be used inside execute() to set a result. Change signature to void execute(...).