commercetools-jvm-sdk
commercetools-jvm-sdk copied to clipboard
Missing Query DSLs for reference expansions
There are some reference expansion paths that are not supported by the Query DSL from the JVM SDK yet:
-
state
- and custom types:
- on prices:
-
masterData.staged.masterVariant.prices[*].custom.type
-
masterData.staged.variants[*].prices[*].custom.type
-
- on assets:
-
masterData.staged.masterVariant.assets[*].custom.type
-
masterData.staged.variants[*].assets[*].custom.type
-
- on prices:
category
references:
-
custom.type
-
assets[*].custom.type
It's not a blocking issue, since an alternative could be to simply plug in the expansion paths in the ExpansionPath#of
method: . For example:
.plusExpansionPaths(ExpansionPath.of("masterData.staged.variants[*].assets[*].custom.type"))
However, it still would be nice to use the QueryDSL for all reference expansion paths consistently :)