Skip to content

Fix hierarchy cleanup error when using type_caster #1

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

Merged
merged 1 commit into from
Jun 27, 2019

Conversation

williamshupe
Copy link

This commit fixes an issue where a database proxy tries
to access the type_caster on the aliased arel table. Since
this is just an alias table of the current model, it makes
sense to use the current model's type_caster for the alias.

This commit fixes an issue where a database proxy tries
to access the type_caster on the aliased arel table. Since
this is just an alias table of the current model, it makes
sense to use the current model's type_caster for the alias.
@williamshupe
Copy link
Author

This didn't include tests as the tests that came to mind were a bit heavy for what already exists in the code. I'm open to suggestions if tests are needed.

@jmarianer jmarianer merged commit 94477da into get-bridge:master Jun 27, 2019
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.

2 participants