Page MenuHomeVyOS Platform

Generate op-mode API client requests along with schema generation
Closed, ResolvedPublicFEATURE REQUEST

Description

To support the use of code-generation tools for types and operations used by the local-UI (notably, 'codegen'; links below), it is useful to generate instances of client requests along with the schema generation. This additional information is needed as a restriction of the full schema, which may contain circular references or define more fields than desired in a specific request. As it is a simple addition to schema generation, it is provided here.

https://the-guild.dev/graphql/codegen
https://the-guild.dev/blog/typed-document-node

Details

Difficulty level
Normal (likely a few hours)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Feature (new functionality)