-
Notifications
You must be signed in to change notification settings - Fork 124
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
suggest models in the code editor #3705
Conversation
allModels.data.map((r) => | ||
createTableColumnsWithName(queryClient, instanceId, r.meta.name.name) | ||
), | ||
(sourceColumnResponses) => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, this tipped me off to where you got this code :). Nice approach to just mirror what we have for sources. But: sourceColumnResponses
-> modelColumnResponses
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Renamed
@ericpgreen2 I missed that I moved the empty object assignment to the variable declaration, which resolved the issue on my end. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works great!
* adds autocomplate for models in the code editor * remove unused type import * change schema initialization, rename variable in useAllModelColumns
Closes #3384
Like the idea of coloring sources and models differently, but this PR does not address that feature.