Currently in produceEvent, the data is just a string which is a json path expression selecting parts of the state data. In some cases you want to build your own data which may use the state data if needed for the produced event.
This change allows users to do both.
Currently in produceEvent, the data is just a string which is a json path expression selecting parts of the state data. In some cases you want to build your own data which may use the state data if needed for the produced event. This change allows users to do both.