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

Improve Validation Errors #959

Open
bellaappel opened this issue May 24, 2022 · 0 comments
Open

Improve Validation Errors #959

bellaappel opened this issue May 24, 2022 · 0 comments

Comments

@bellaappel
Copy link

I have a type mismatch on one of my model attributes and received the following error:

Uncaught Error: Validation failed
- record operation is invalid
  - value is invalid
    at SyncSchemaValidationProcessor.validate (sync-schema-validation-processor.js:11:672)
    at MemoryCache._applyTransformOperation (sync-record-cache.js:28:3154)
    at MemoryCache._applyTransformOperations (sync-record-cache.js:28:2785)
    at MemoryCache._update (sync-record-cache.js:28:1408)
    at MemoryCache._update (memory-cache.js:44:206)
    at MemoryCache.update (sync-record-cache.js:18:4254)
    at MemorySource._applyTransform (memory-source.js:65:360)
    at MemorySource._sync (memory-source.js:13:75)
    at MemorySource.proto.__sync__ (syncable.js:21:997)

Is it possible to provide the name of the model and the name of the attribute that are causing the error?

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

No branches or pull requests

1 participant