You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This code says that the spec doesn't have a size for numbers, but it does:
The Int scalar type represents a signed 32-bit numeric non-fractional value. Response formats that support a 32-bit integer or a number type should use that type to represent this scalar.
I made a feature for this so it's not breaking and thus doesn't need to wait for a major version. Someone could even add deprecation notice or on move to v1.0.0 just switch it to default to i32 and still offer the i64 as a feature to make the transition easier for people. #65
Activity
Int
translate to ani32
? graphql-rust/graphql-client#266tailhook commentedon Oct 8, 2021
This is true for inputs and outputs. But I'm still not sure it is true for literals.
ittorchbearer commentedon Apr 28, 2022
I made a feature for this so it's not breaking and thus doesn't need to wait for a major version. Someone could even add deprecation notice or on move to v1.0.0 just switch it to default to i32 and still offer the i64 as a feature to make the transition easier for people. #65
fix: use u64 (instead of i64) for height, block height, nonce, and slot
fix: use u64 (instead of i64)
fix: use u64 (instead of i64)
fix: use u64 (instead of i64)