keep in keys is not working to multiple children
Opened this issue · 0 comments
victorvoid commented
keep in keys is not working to multiple children
const newdata = {
data: {
users: {
name: 'Victor Igor',
id: "100",
age: 40,
test: {
text: true,
html: {
_data: { text: 'hello', age: 10 }
}
}
}
}
};
const value = dql(newdata)`
data {
users(keep: true) {
test {
html(keep: true) {
text: _data (getProp: text)
age: _data (getProp: age)
}
}
}
}
`;
received: { users: { html: { age: 10 } } }
expected: { users: { html: { text: 'hello', age: 10 } } }