-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Unable to use query_as with Postgres enum support #313
Comments
The macros are currently completely unaware of custom types, but we can roll this in with the following proposal: #121 (comment) I'm starting on that right after #249 is merged as it lays some groundwork for it. |
Awesome, thank you for the info. If you'd prefer to close this rather than keeping it open, feel free, I can follow along on the other issues. |
I just ran into this also. Excited to see how decoupled mode helps to support this! |
It doesn't directly, but the refactors I did in the course of implementing that lead directly into supporting this and #121 . |
Initial support for user-defined types in macros is being tracked in #397 |
This example should be able to be run to create the test table, and then the unit tests will fail compilation because of the error:
I've also tried this with the
repr(32)
and the text rename functionality. I tried looking for examples in the repository, but there are no hand-written examples, just ones that use some higher-level testing functionality.I looked for missing trait includes, but couldn't find what should be included if anything. Any help is greatly appreciated!
The cargo dependencies section for the example:
The main.rs file:
The text was updated successfully, but these errors were encountered: