danielgerlag / workflow-core

Lightweight workflow engine for .NET Standard
MIT License
5.33k stars 1.19k forks source link

fix: prevent redis provider from crashing when using deleteComplete #1260

Open danyhoron opened 4 months ago

danyhoron commented 4 months ago

Describe the change

While testing the redis persistence provider, I set deleteComplete: true I started getting lots of warnings and errors: Error indexing workfow

Describe your implementation or design I checked if the redis response has value, and if it didn't return null, don't try to deserialize it.

Tests Did not add any now tests.

Breaking change No breaking changes.

Additional context Any additional information you'd like to provide?