Skip to content

fix: return proper JSON from REST API #3606

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

Draft
wants to merge 1 commit into
base: staging
Choose a base branch
from
Draft

Conversation

joske
Copy link
Contributor

@joske joske commented Apr 22, 2025

Motivation

Some endpoints return just a Display implementation for serializing of a Value. This leads to invalid JSON. See #3361. Note that this approach does preserve order.

Filing as draft to solicit feedback.

Test Plan

Tested manually as described in the linked issue.

@joske
Copy link
Contributor Author

joske commented Apr 22, 2025

@vicsn @niklaslong I think this approach is acceptable, it only changes the behaviour for the REST call.

@joske joske force-pushed the json branch 3 times, most recently from 4205e9c to a28aa20 Compare April 25, 2025 11:46
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.

1 participant