coder / backstage-plugins

Official Coder plugins for the Backstage platform
40 stars 3 forks source link

Coder plugin: Update codebase to pull type definitions from Coder SDK #110

Closed Parkreiner closed 7 months ago

Parkreiner commented 7 months ago

Part of umbrella issue #16. Should be able to be started at any time.

Problem

In order to maximize compatibility with the main Coder API types, we should rip out our current type validation setup and custom type definitions, and defer to the types defined via the Coder types NPM package. Normally this wouldn't be all that safe, but because we own both packages, there shouldn't be any issues around this, and the migration will remove some runtime overhead.

Desired outcome

Parkreiner commented 7 months ago

Closing in favor of #114