-
Notifications
You must be signed in to change notification settings - Fork 133
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
validator has not been provided for attribute ... of type
'object'
#857
Comments
Looks like we're missing an object validator: orbit/packages/@orbit/validators/src/standard-validators.ts Lines 8 to 29 in e4a9395
|
Good catch, @bradjones1. In reviewing the validator logic, I found a few holes that I'm going to try to fill today:
I'll get a new beta out after this work is done. In the mean time, if you want a workaround to avoid the above error you can provide a custom |
Just published:
|
Wow! 🚀 Thanks! |
I am working with
v0.17.0-beta.20
utilizing a json:api source pulled through an in-memory source. While syncing the record cache, the record is validated. I have a model for afile
record type, with an attribute ofobject
type specified thusly:In
SyncRecordCache::update
, the validation fails with the following issue:It appears this is related to #842 but as there is no documentation yet on
0.17
beyond the tests, I'm a bit stumped as to whether this is a:object
attributes in the current docs or tests)The text was updated successfully, but these errors were encountered: