diesel-rs/diesel
Voir sur GitHubCompilation with `infer_schema!` panics when table has column named `ops`
Open
#851 ouverte le 6 avr. 2017
assignedbughelp wanted
Métriques du dépôt
- Stars
- (12 054 stars)
- Métriques de merge PR
- (Merge moyen 30j 16h) (30 PRs mergées en 30 j)
Description
Somewhere in the macro expansion, there is code that imports ops from within diesel. If a column in a database is named ops, this causes conflicts within the macro.
I think that putting a note somewhere that this could happen may be enough; however, prefixing the internal variables or module names to something like _table_ops or something similar would be a more permanent solution.