Page MenuHomeVyOS Platform

Generate API GraphQL schema on installation, rather than dynamically
Closed, ResolvedPublic

Description

GraphQL schema are generated dynamically, on configuration, as a convenience in order to distinguish schema for key authentication (non-nullable input field 'key') and JWT token (no such field). It is preferable to generate schema statically, during installation of the debian package vyos-1x, as one can then apply code generation tools for client types and operations. Consequently, use nullable field 'key' and generate schema in vyos-1x.postinst.

Details

Difficulty level
Unknown (require assessment)
Version
vyos-1.4
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Internal change (not visible to end users)