You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And now I see an error in the browser console on a method call:
Invalid result type: Field "data" expected to be array of [object Object].
Of cause I can define the data as
data: {
type: 'array',
value: 'object'
}
But it is not strict.
So how I can define a schema in a right way?
The text was updated successfully, but these errors were encountered:
I have tried to validate a return-value at the "api.example.countries" method from the example reposytory.
It returns something like this:
I have modified this method:
And now I see an error in the browser console on a method call:
Invalid result type: Field "data" expected to be array of [object Object].
Of cause I can define the data as
But it is not strict.
So how I can define a schema in a right way?
The text was updated successfully, but these errors were encountered: