-
Notifications
You must be signed in to change notification settings - Fork 3
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
support custom field types #7
Comments
this would be great. an easy but janky way to do it is to require that the type not have any i think the code gen needs to know how to create a zero value, but actually it could always have done |
Maybe:
But, this should work as well, most of the time
|
One option would be to allow specifying custom types,e.g.
|
i think the quoted version would be easiest to support with the current parser. also, this works nicely as long as conversions are applicable, but uuid is a special case where it isn't.. more info or a convention is required for handling non-convertable types. and your |
Currently there's significant amount of code that's being written to convert from
[]byte
touuid.UUID
, because dbx doesn't seem to allow specifying custom types.The text was updated successfully, but these errors were encountered: