Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Panic when Invalid Struct is Registered #361

Merged
merged 1 commit into from
Feb 11, 2021

Conversation

sjmtan
Copy link
Contributor

@sjmtan sjmtan commented Feb 11, 2021

Without this, an invalid struct can be partially registered in tests or in workers, which can lead to weird failure when activities are missing but unknown as to why they are missing.

Combines with #360 for solving #356.

Without this, an invalid struct can be partially registered in tests or
in workers, which can lead to weird failure when activities are missing
but unknown as to why they are missing.
@sjmtan
Copy link
Contributor Author

sjmtan commented Feb 11, 2021

I don't have good tests for this. Where/how should I test this?

Copy link
Member

@mfateev mfateev left a comment

Choose a reason for hiding this comment

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

Thanks!

@mfateev mfateev merged commit a97e3b2 into temporalio:master Feb 11, 2021
@sjmtan sjmtan deleted the shannontan/panicWhenInvalidStruct branch February 12, 2021 01:19
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