Open deckdom opened 4 years ago
Currently the behavior is to fall back to the default language if the children have no content in the desired language.
Same Problem here. It ignores all other languages and only checks for the first provided language in the array, in my case "de".
Example query
node(path:"/foo"){ children(lang: ["de", "en"], filter: {fields: {Bar: {name: {equals: "Something"}}} }){ elements{ languages{ language displayName uuid } } } }
the example query would show no matches, but if i change the lang array to ["en", "de"] it will find a node.
Gentics Mesh Version, operating system, or hardware.
Operating System
JVM
Problem
When using the
children
in GraphQL, it describes thelang
Parameter as follows:When putting that to a test, it does sadly not filter anything and returns all elements regardless.
Reproducer
Can be tested on the demo with following query:
Link
Expected behaviour and actual behaviour
It should filter out all elements which are not permitted from the given language list