Skip to content

Conversation

@lovasoa
Copy link
Collaborator

@lovasoa lovasoa commented Jan 12, 2026

Improve the panic message for Type<Any>::type_info() to guide users on correct usage with the Any driver.


Open in Cursor Open in Web

Replace `unimplemented!()` with a detailed panic message explaining that `Any` driver does not support static type information, guiding users to use `query` instead of `query!` macros.
@cursor
Copy link

cursor bot commented Jan 12, 2026

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

Replace `unimplemented!()` with a detailed panic message explaining that `Any` driver does not support static type information.

Also included the name of the type for which `type_info` was called to aid debugging.
@lovasoa lovasoa marked this pull request as ready for review January 14, 2026 15:25
@lovasoa lovasoa merged commit ea13882 into main Jan 14, 2026
65 checks passed
@lovasoa lovasoa deleted the cursor/type-info-unimplemented-message-4e8e branch January 14, 2026 15:25
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

Successfully merging this pull request may close these issues.

3 participants