Skip to content

Exclusion of generated types from examples #705

Open
@vados-cosmonic

Description

@vados-cosmonic

During work on the Hono example, a discussion about whether to check in generated types prompted the question -- should we or should we not include generated types in the jco repo.

I'm partial to including them so they can be easily referenced (and diffed, etc), but in the vast majority of situations, generated code is NOT checked in to repositories.

@rajsite also posed a comporomise that is also compelling:

If you're strongly counter a compromise could be to include the generated types in the example specific gitignore so they are ignored when copied locally but force add the generated files so they can be referenced in the jco repo.

That said I'm also happy to go the other way and just completely remove generated code completely from the examples.

Some feedback (in this issue thread) would be welcome, and this would be a great ticket for someone new to the codebase to handle!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions