We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When data is decoded from database and decoding fails, error is ignored (.toOption).
.toOption
https://github.com/thehonesttech/zio-entity/blob/d1aea32e37bf6613d40b0cadc7e0cf6386628c67/postgres/src/main/scala/zio/entity/postgres/snapshot/PostgresqlKeyValueStore.scala#L39
None is returned: https://github.com/thehonesttech/zio-entity/blob/ba79935546da741dacded8c487ad8b289da5d7d5/core/src/main/scala/zio/entity/core/KeyedAlgebraCombinators.scala#L51-L56
and when state is recovered from snapshot than initial state is being used while in fact error should be raised.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When data is decoded from database and decoding fails, error is ignored (
.toOption
).https://github.com/thehonesttech/zio-entity/blob/d1aea32e37bf6613d40b0cadc7e0cf6386628c67/postgres/src/main/scala/zio/entity/postgres/snapshot/PostgresqlKeyValueStore.scala#L39
None is returned:
https://github.com/thehonesttech/zio-entity/blob/ba79935546da741dacded8c487ad8b289da5d7d5/core/src/main/scala/zio/entity/core/KeyedAlgebraCombinators.scala#L51-L56
and when state is recovered from snapshot than initial state is being used while in fact error should be raised.
The text was updated successfully, but these errors were encountered: