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

[typing] Pass DestinationKind to Column.Name #503

Merged
merged 2 commits into from
Apr 29, 2024
Merged

Conversation

nathan-artie
Copy link
Contributor

No description provided.

@@ -198,7 +194,11 @@ func (c *Columns) GetColumnsToUpdate(uppercaseEscNames bool, args *NameArgs) []s
continue
}

cols = append(cols, col.Name(uppercaseEscNames, args))
if args == nil {
Copy link
Contributor Author

@nathan-artie nathan-artie Apr 24, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a stopgap, will look at passing a *constants.DestinationKind pointer to this method.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we create another function instead?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GetColumnsToUpdateRaw or something?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe, I'll look into it in the next PR, I don't want to grow the scope of this PR.

@nathan-artie nathan-artie requested a review from Tang8330 April 24, 2024 22:36
@nathan-artie nathan-artie changed the title Pass dest kind to Column.Name [typing] Pass constants.DestinationKind to Column.Name Apr 24, 2024
@nathan-artie nathan-artie changed the title [typing] Pass constants.DestinationKind to Column.Name [typing] Pass DestinationKind to Column.Name Apr 24, 2024
@nathan-artie nathan-artie merged commit 42a37a5 into master Apr 29, 2024
1 check passed
@nathan-artie nathan-artie deleted the nv/pass-dest-kind branch April 29, 2024 04:12
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