-
-
Notifications
You must be signed in to change notification settings - Fork 0
Description
The vision for this project is that over time we'll generate code for all SDKs based on the model defined in this repo.
If we do that and keep the generated code here, it will be really hard to contribute to this repo, as you would need 20 different toolchains to format and lint the code.
A solution would be to split this up, keeping just the schemas and models here (JSON), and create another repo where the generated packages live. The other repo could submodule this one. To contribute to the other repo, you would need to install toolchains, but we could create something automated that pulls the model from here and generates the code in the other repo, so no one would have to contribute to the other repo directly.
Another solution would be to generate code completely in CI. Contributors would only add files to the model/code generation logic, CI would install all the tools and run the code generation scripts on all pushes to a PR.