Specifically, the relationship check in the boolean expression causes the metadata to fail to build. ddn context set-current-context dev
6:23PM INF Current context set to "dev".
6:23PM INF Checking for update...
HINT A new version (v2.14.0) is available for the DDN CLI, to update run: ddn update-cli
ddn supergraph build local --output-dir engine/build/dev
6:23PM INF Using Supergraph config file "supergraph.dev.yaml" found in context.
6:23PM INF Using localEnvFile ".env.dev" found in context.
6:23PM ERR Code=opendds-validation Message="invalid metadata: error building schema: invalid metadata: Internal Error: Unknown type ProgramStaffsBoolExp (in subgraph app) when collecting type mappings in type ProgramStaffsBoolExp (in subgraph app)"
6:23PM ERR Building Supergraph failed.
make: *** [Makefile:21: ddn-engine-local] Error 1
When using a predicate filter that has a relationship, the engine metadata fails to build.
For example, this works properly for models:
However, if you need to do something similar to commands it does not work:
Specifically, the relationship check in the boolean expression causes the metadata to fail to build. ddn context set-current-context dev 6:23PM INF Current context set to "dev". 6:23PM INF Checking for update... HINT A new version (v2.14.0) is available for the DDN CLI, to update run: ddn update-cli ddn supergraph build local --output-dir engine/build/dev 6:23PM INF Using Supergraph config file "supergraph.dev.yaml" found in context. 6:23PM INF Using localEnvFile ".env.dev" found in context. 6:23PM ERR Code=opendds-validation Message="invalid metadata: error building schema: invalid metadata: Internal Error: Unknown type ProgramStaffsBoolExp (in subgraph app) when collecting type mappings in type ProgramStaffsBoolExp (in subgraph app)" 6:23PM ERR Building Supergraph failed. make: *** [Makefile:21: ddn-engine-local] Error 1