-
Notifications
You must be signed in to change notification settings - Fork 40k
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
Remove int support from json patches #63522
Conversation
/retest |
/retest |
/assign @mbohlool JSON doesn't reliably transport numbers bigger than 54 bits... |
/retest |
Why would we remove int? int64 is the thing that's not reliably transmitted by JSON? |
JSON number does not have type actually. It is safer to use int32 vs int64 as most parsers support up to 53 bits. Anyhow I don't see any reasoning in the referenced issue why we should remove int. /hold |
Originally JSON parser produces only |
@mbohlool there is a misunderstanding. I'm talking about parsed JSON ( |
What is the reasoning to keep it? Why have |
/unhold |
/hold cancel |
/retest |
Sgtm. Can you blame who owns the json patch code? |
@mbohlool in all our JSON data structure code we have an invariant on the valid types (which do not include |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ash2k, sttts The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/test all Tests are more than 96 hours old. Re-running tests. |
Automatic merge from submit-queue (batch tested with PRs 65094, 65533, 63522, 65694, 65702). If you want to cherry-pick this change to another branch, please follow the instructions here. |
What this PR does / why we need it:
JSON only contains
int64
andfloat64
types for numbers soint
is not needed.Special notes for your reviewer:
This is a follow up for #62981.
Release note:
/sig api-machinery
/kind cleanup
/cc liggitt sttts