Lighthouse definitions are currently (manually) exported to a graphql file that is bundled with Modelarium. That's error prone and requires a specific lighthouse version. Lighthouse outputs a full graphql build through graphql, but that mixes user directives, modelarium directives, etc.
It should be possible to build this at runtime and filter the namespaces to get an always trustworthy directive declaration.
Lighthouse definitions are currently (manually) exported to a graphql file that is bundled with Modelarium. That's error prone and requires a specific lighthouse version. Lighthouse outputs a full graphql build through graphql, but that mixes user directives, modelarium directives, etc.
It should be possible to build this at runtime and filter the namespaces to get an always trustworthy directive declaration.