-
Notifications
You must be signed in to change notification settings - Fork 6
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
Feature Request: Add the automatic type mapping for uint8/16/32/64 and int8/16/32 #122
Comments
@gsbingo17 Many of the tests in this repository use |
@olavloite Thank you! This feature request addresses a common use case where developers are refactoring applications to migrate from MySQL to Spanner.
|
@gsbingo17 Could you supply a code sample for something that you have at the moment that does not work with Spanner? That makes it easier to understand where it goes wrong. I understand that the desire is to minimize code changes, but it's not entirely clear to me how your structure is at the moment, and where that then causes an issue. Put another way, based on your original example:
The above conversions should all not be necessary if |
@olavloite Thank you! I just created a doc and shared it with you. |
Developers make code changes to Spanner from MySQL using go-gorm-spanner; Because Spanner does not use unsigned integer type, it causes developers to introduce explicit conversions, creating overhead for application refactoring.
For example:
The text was updated successfully, but these errors were encountered: