Skip to content

Organise code in packages#1820

Closed
kgrama wants to merge 15 commits intooapi-codegen:mainfrom
kgrama:organise-packages-v2
Closed

Organise code in packages#1820
kgrama wants to merge 15 commits intooapi-codegen:mainfrom
kgrama:organise-packages-v2

Conversation

@kgrama
Copy link
Copy Markdown

@kgrama kgrama commented Nov 3, 2024

Hi, I would like to contribute to the codebase, but found it hard to follow with everything in one package. This is my first attempt at a restructure. The starting point for any restructure is the global state var in codegen, not moving it to its own package causes a lot of cyclic dependencies

@kgrama kgrama requested a review from a team as a code owner November 3, 2024 02:26
Copy link
Copy Markdown
Member

@jamietanna jamietanna left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution!

Unfortunately, this is something that's unlikely to merge right now, as the package reshuffle looks like it may be a breaking change for anyone consuming oapi-codegen as a library (opposed to as a CLI)

Copy link
Copy Markdown
Member

@jamietanna jamietanna left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And although we appreciate that this may improve understanding + being able to contribute, this particular change (with how it may be breaking and to make it non-breaking we need to add extra pieces to manage it similar to #1388) isn't something we'll be prioritising, but thanks for your work on it!

Hopefully this has given you a chance to understand the codebase more 🤞🏽

@jamietanna jamietanna closed this Nov 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants