-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Typing issue in REST api #5805
Comments
Disclaimer: This comment was automatically generated with AI. It can give some useful hints as to where to look for, but sometimes it can also give very inaccurate answers so takes this with a pinch of salt :). To resolve the typing issue for
// Example file: src/types/ApiRestResponse.ts
export interface ApiRestResponse {
// other fields
AmountMicros: number; // Ensure this is typed as a number
}
# Example file: src/graphql/schema.graphql
type SomeType {
# other fields
AmountMicros: Float!
} This should resolve the typing inconsistency between REST API and GraphQL. References |
AmountMicros is displayed as a string but is a number in GraphQL.
There might be other typing issues
The text was updated successfully, but these errors were encountered: