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

Enable raw ident support #96

Merged
merged 1 commit into from
Jan 29, 2020
Merged

Enable raw ident support #96

merged 1 commit into from
Jan 29, 2020

Conversation

yaahc
Copy link
Contributor

@yaahc yaahc commented Jan 29, 2020

This change makes it so the sqlx macros generate every ident as raw identifiers so that it will support the field if its name happens to coincide with a rust identifier.

closes #95

@yaahc yaahc requested a review from abonander January 29, 2020 03:01
@abonander abonander merged commit 140d9cb into launchbadge:master Jan 29, 2020
@abonander
Copy link
Collaborator

Merging with broken build, will push fix to master.

@abonander
Copy link
Collaborator

Thanks again!.

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.

query!() should use raw ident prefix for all field names in its structs
2 participants