When an attribute is marked as deprecated, it is only shown in select-statements, but not when used in a filter.
example:
...config.xml
<deleted type="boolean" deprecated="true" />
...index.js
extensions: {
preExecute: async (ev) => {
ev.request.filter = {
attribute: 'deleted',
operator: 'equal',
value: false
}
}
}
-> deleted does not appear on the deprecated context.
When an attribute is marked as
deprecated, it is only shown inselect-statements, but not when used in a filter.example:
-> deleted does not appear on the deprecated context.