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

fix: check named value parameter types #35

Merged
merged 6 commits into from
Sep 6, 2021
Merged

Conversation

olavloite
Copy link
Collaborator

Move the implementation of NamedValueChecker from Stmt to Conn so it is always applied. Also, the check will always be the same, and will not be different per statement. This will allow queries that use Spanner specific types, such as spanner.NullDate to be executed.

Move the implementation of NamedValueChecker from Stmt to Conn so it
is always applied. Also, the check will always be the same, and will
not be different per statement. This will allow queries that use Spanner
specific types, such as spanner.NullDate to be executed.
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Aug 20, 2021
Copy link
Collaborator

@hengfengli hengfengli left a comment

Choose a reason for hiding this comment

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

LGTM.

@olavloite olavloite merged commit f260dd2 into main Sep 6, 2021
@olavloite olavloite deleted the check-valid-types branch September 6, 2021 07:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants