A new built-in query type __query_type has been added. A result of the processing of the query type must be an array of strings. The list must contain all built-in query types (included this one) and all custom query types of the workflow.
Why?
The changes are required to implement the task, so it allows users to retrieve the list of available query types.
How did you test it?
The changes were tested locally. TestProcessQuery_KnownQueryTypes was added.
Potential risks
There are no expected risks. The worst potential risk is the query functionality will not work.
What changed?
A new built-in query type
__query_type
has been added. A result of the processing of the query type must be an array of strings. The list must contain all built-in query types (included this one) and all custom query types of the workflow.Why? The changes are required to implement the task, so it allows users to retrieve the list of available query types.
How did you test it? The changes were tested locally. TestProcessQuery_KnownQueryTypes was added.
Potential risks There are no expected risks. The worst potential risk is the query functionality will not work.