avelex opened a new pull request, #324:
URL: https://github.com/apache/flink-statefun/pull/324
### The main goal of PR is to remove unnecessary panic where it should not
be.
For example:
```
msg, err := message.ToMessage()
if err != nil {
panic(err)
}
```
So If such code is placed in a function which does not mean panic is
present, unpleasant things may happen in the future. This is why panics have
been removed from the `statefunContext` and `storage` module.
Also, the prefix Must has been added to functions that must be completed and
cannot be avoided in the future
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]