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
The following code separates the input filter value $filter=(location/address/firstname eq 'John') into an object.
The object results with the '/' sepated items in no alphabetical order, misrepresenting the original order.
Is it a partial code?
The following code separates the input filter value $filter=(location/address/firstname eq 'John') into an object.
The object results with the '/' sepated items in no alphabetical order, misrepresenting the original order.
Is it a partial code?
Node.prototype._prop = function (result, left, rightValue) {
if (left.type === 'property' && left.name.indexOf('/') !== -1) {
const fragments = left.name.split('/')
const obj = result[fragments[0]] || {}
} else {
result[left.name] = rightValue
}
}
The text was updated successfully, but these errors were encountered: