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

Generate per-method transformResponse from schema #231

Closed
wants to merge 4 commits into from

Conversation

david-crespo
Copy link
Collaborator

@david-crespo david-crespo commented Mar 15, 2024

Closes #230. Prototype. The point of this is to add support for the BigInts in oxidecomputer/omicron#5258, but also make our runtime transformation smarter in general.

github-actions[bot]

This comment was marked as outdated.

@oxidecomputer oxidecomputer deleted a comment from github-actions bot Mar 15, 2024
@david-crespo david-crespo changed the title Generate per-methodtransformResponse from schema Generate per-method transformResponse from schema Mar 15, 2024
@david-crespo
Copy link
Collaborator Author

I kind of hate it, but at this point it works well enough that all the e2e tests pass in console, so at least it's not completely broken.

@david-crespo
Copy link
Collaborator Author

@charliepark and I talked through this and we're going to close it. Useful prototype if we want to do per-endpoint transforms in the future, but for now we can just deal with the one BigInt value by hand in the console.

@david-crespo david-crespo deleted the transform-response branch March 18, 2024 18:47
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.

Use schema info to process response JSON at runtime
1 participant