Skip to content
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

Auto UDT support slices of UDTs #171

Open
mmatczuk opened this issue Aug 5, 2020 · 0 comments
Open

Auto UDT support slices of UDTs #171

mmatczuk opened this issue Aug 5, 2020 · 0 comments

Comments

@mmatczuk
Copy link
Contributor

mmatczuk commented Aug 5, 2020

Slices of UDTs are not supported by gocqlx. This is because gocqlx hacks binding of objects and instead passing original pointer to the object representing column, it passes special type which internally rewrites pointers. This works only for objects, because we can allocate and initialize this special type for each column. But with slices, allocation and initialization is done by the driver so gocqlx cannot interfere with it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant