Hi, I’ve a GET request
(http://localhost:1337/api/classes/Member?where[active]=true&order=lastName&count=1&limit=20&skip=0&excludeKeys[]=__type&include=relations.member)
and [active] is a boolean field. This fiels (and other boolean filed) is not reconize.
I am forced to change the string type to boolean (beforeFind).
Do you have another solution ?
The Request in beforeFind :
ParseQuery {
className: ‘Member’,
_where: { active: ‘true’ },
_include: [ ‘relations.member’ ],
_exclude: [ ‘__type’ ],
_count: false,
_limit: 20,
_skip: 0,
_readPreference: null,
_includeReadPreference: null,
_subqueryReadPreference: null,
_queriesLocalDatastore: false,
_localDatastorePinName: null,
_extraOptions: { excludeKeys: ‘__type’ },
_xhrRequest: { task: null, onchange: [Function: onchange] },
_order: [ ‘lastName’ ]
}
Thank you