-
-
Notifications
You must be signed in to change notification settings - Fork 220
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FEATURE: Add helpers to fetch nodes in ways similar to context()
operation
#5100
Comments
I'm willing to coordinate and hopefully implement this. I need your help, though, to come up with a nice API. So let's hear your suggestions for the operations we need… |
I use the same three as in your list. So here my first quick suggestions: How about
And |
regarding legacy
|
TIL: |
#5130 would reintroduce the 8.3 syntax for workspaceName, dimensions, invisibleContentShown (untested yet) |
Description
Prior to Neos 9 it was possible to use the
context()
operation to fetch nodes, e.g. from a different workspace or in different dimension values. This was useful e.g. if you need to create a link to such a node.With Neos 9 the
context()
operation no longer exists, a new, possibly improved way should be made available.Ideally the new way could be added to a potential Neos 8.4 to make it forward-compatible.
Current state
In Neos9-beta10 and before a hard to decipher error is shown, indicating that
context
does not exist.Possible Solution
q(node).inWorkspace('live')
to fetch a node in a certain workspace…
to fetch a node with a certain set of dimension values…
to include invisible nodes in the resultsThe text was updated successfully, but these errors were encountered: