Skip to content

Refactor to remove code generation #14

@kili-ilo

Description

@kili-ilo

The current code generation system is less helpful than expected:

  • The generated files are all very simple, and could simply be copy/pasted instead of generated.
  • The .graphql files require special decorators, which have a limited syntax.
  • The versioning strategy (only some command files are versioned, but most are ignored and should be regenerated mid-build) is counterintuitive.
  • Adding unique features to commands requires ejecting from code generation.

Therefore, we should:

  • Replace all .graphql files with their generated .ts counterparts.
  • Remove all code generation scripts & dependencies.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions