Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce code gen'ing of various files #170

Open
xibz opened this issue Nov 24, 2023 · 0 comments
Open

Introduce code gen'ing of various files #170

xibz opened this issue Nov 24, 2023 · 0 comments

Comments

@xibz
Copy link
Contributor

xibz commented Nov 24, 2023

Currently when a new field is needed to be added to the context, the author must add the field many times which is not a great experience. Further, the current examples folder serves two purposes: testing and examples. When the SDKs run its testing processes, it will utilize the examples folder to ensure things are generated correctly. This makes adding useful examples for end users more difficult as it needs to adhere to a strict format.

So with these two issues, I believe we can introduce code gen'ing to better the experience of authors and end users who are interested in looking at examples.

  1. Add a tool to code gen schemas
  2. Use the same tool to generate examples
  3. Add a new testing folder for the purpose of tests
  4. Generate test payloads using the same code gen'ing tool

A proposal will need to be written to outline what the new directory structure will look like and any new tool that needs to be added.

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

No branches or pull requests

1 participant