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

Add fatal synchronization error hook #2506

Closed
wants to merge 1 commit into from

Conversation

gabriellanata
Copy link

@gabriellanata gabriellanata commented Mar 22, 2023

This change introduces a setting to trigger a fatal error when a synchronization error is detected. The FATAL_SYNCHRONIZATION flag has precedence over this setting and it does not change the current default behavior.

Reasoning: We're trying to work through many synchronization errors in our app, but this process is going to take a while. In the meantime, we want to prevent new errors from being added to places that don't have them already. Our approach is to enable this setting for tests and provide a way to disable it for specific tests that currently have synchronization issues. One of the things we need for this to be possible is a way to turn this feature on or off easily.

@freak4pc
Copy link
Member

This change introduces a setting to trigger a fatal error when a synchronization error is detected. The FATAL_SYNCHRONIZATION flag has precedence over this setting and it does not change the current default behavior.

Reasoning: We're trying to work through many synchronization errors in our app, but this process is going to take a while. In the meantime, we want to prevent new errors from being added to places that don't have them already. Our approach is to enable this setting for tests and provide a way to disable it for specific tests that currently have synchronization issues. One of the things we need for this to be possible is a way to turn this feature on or off easily.

I'm sorry for not replying so far, I guess you have worked around this in a different way but I'm wondering what's the reaosn to not add FATAL_SYNCHRONIZATION to your test suite directly, instead of an additional flag from the RxSwift side?

@freak4pc
Copy link
Member

No response, closing

@freak4pc freak4pc closed this Apr 20, 2024
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.

None yet

2 participants