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

chore: remove tag restrictions in Connection API #2970

Merged
merged 1 commit into from
Mar 26, 2024

Conversation

olavloite
Copy link
Collaborator

The Connection API used a regex to limit the possible values that could be set for statement and transaction tags. These limitations were not in sync with what the actual allowed values for tags are in Spanner. The restrictions in the Connection API have therefore been removed, and all validation is done by the Spanner backend instead.

The Connection API used a regex to limit the possible values that could
be set for statement and transaction tags. These limitations were not in
sync with what the actual allowed values for tags are in Spanner. The
restrictions in the Connection API have therefore been removed, and all
validation is done by the Spanner backend instead.
@olavloite olavloite requested review from a team as code owners March 25, 2024 15:17
@product-auto-label product-auto-label bot added size: xl Pull request size is extra large. api: spanner Issues related to the googleapis/java-spanner API. labels Mar 25, 2024
@olavloite olavloite merged commit a23d89f into main Mar 26, 2024
26 of 28 checks passed
@olavloite olavloite deleted the remove-tag-restrictions branch March 26, 2024 12:17
arpan14 pushed a commit to arpan14/java-spanner that referenced this pull request Apr 1, 2024
The Connection API used a regex to limit the possible values that could
be set for statement and transaction tags. These limitations were not in
sync with what the actual allowed values for tags are in Spanner. The
restrictions in the Connection API have therefore been removed, and all
validation is done by the Spanner backend instead.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: spanner Issues related to the googleapis/java-spanner API. size: xl Pull request size is extra large.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants