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

Enum field with TypeConverter doesn't work in WHERE clause that uses alias #1401

Closed
danvwells opened this issue Aug 11, 2017 · 1 comment · Fixed by #1416
Closed

Enum field with TypeConverter doesn't work in WHERE clause that uses alias #1401

danvwells opened this issue Aug 11, 2017 · 1 comment · Fixed by #1416

Comments

@danvwells
Copy link
Contributor

DBFlow Version:
Issue Kind (Bug, Question, Feature): Bug

using kapt.

Description:
When a model has a field whose type is an Enum, and which has a custom TypeConverter, and the related Table classes' field is used in a where clause, AND an alias is used (.withTable(...)), then the TypeConverter is not used in creating the query. Without the alias, it works.

@danvwells
Copy link
Contributor Author

found some time to look into it... seems simple enough

agrosner added a commit that referenced this issue Aug 18, 2017
fix to #1401: withTable now works for TypeConvertedProperty
@agrosner agrosner mentioned this issue Aug 27, 2017
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 a pull request may close this issue.

1 participant