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

re-run resolve function for columns containing dot in the name #516

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kirba
Copy link
Contributor

@kirba kirba commented Oct 28, 2022

This one should solve #505

The issue when exporting was both export and re-render are happening in the single request. The 2nd time query is built, it starts fresh (from builder method) but columns are already resolved.

Column doesn't have any join info stored in it so the join is missing and thus generating Unknown column error. It is because resolveColumnName will change query directly.

That being said, there is a workaround for this bug. If we define builder function in our class, and we do a manual join there, then everything will be fine. But still, I think this one should be solved in the library.

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.

1 participant