Skip to content

Conversation

@Gyan-Gupta-Rtsl
Copy link
Contributor

Story card: sc-17557

Because

Currently, the ET mobile app has legacy local data that cannot be synced to the server through existing APIs. These records contain invalid or outdated values, which are rejected by backend validations and cause sync failures.

This addresses

  1. Added historical sync APIs that bypass ActiveModel validations for legacy data.
  2. Safely handles invalid enum values by normalizing them to nil instead of raising errors.
  3. Prevents sync failures caused by legacy invalid data.

Test instructions

  1. Run the test cases

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants