Skip to content

Conversation

chriso
Copy link
Contributor

@chriso chriso commented Jun 25, 2024

There's a NPE when deserializing function options from #7. For some reason the coroutine serialization layer deserializes them as null.

Let's work around the issue for now in order to make progress. We don't need to serialize the function options because we serialize the function map directly.

@chriso chriso self-assigned this Jun 25, 2024
for _, opt := range d.opts {
if _, ok := opt.(AnyFunction); ok {
// No need to serialize these options, since we serialize the
// map of registered functions directly.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we file the issue in https://github.com/dispatchrun/coroutine and comment with a link to it here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants