At the moment, you can only search with Elastic Search on the top level of a GraphQL query via the nodes field.
It should be possible to use queries in any node list field (children, node list field, etc.). When executing the query, mesh has to add a condition to only finds nodes within the current context.
Example:
Proposal
At the moment, you can only search with Elastic Search on the top level of a GraphQL query via the
nodes
field. It should be possible to use queries in any node list field (children, node list field, etc.). When executing the query, mesh has to add a condition to only finds nodes within the current context. Example:This query will find all uuids of nodes that are children of the root node AND have the region schema.
Implementation
When a query in an inner field is encountered, Mesh could simply wrap the query like this: