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

Pg Client might convert a query param to NULL if it has the wrong type #1464

Merged
merged 1 commit into from
Sep 17, 2024

Conversation

tsegismont
Copy link
Contributor

Fixes #1463

With this change, a DataType always has a param extractor. The default extractor signals the failure to convert to PgParamDesc.

@tsegismont tsegismont requested a review from vietj September 9, 2024 16:50
@tsegismont tsegismont closed this Sep 16, 2024
@tsegismont tsegismont deleted the issue/1463 branch September 16, 2024 09:54
@tsegismont tsegismont restored the issue/1463 branch September 17, 2024 09:57
@tsegismont tsegismont reopened this Sep 17, 2024
@tsegismont tsegismont removed the request for review from vietj September 17, 2024 10:01
Fixes eclipse-vertx#1463

With this change, a DataType always has a param extractor.
The default extractor signals the failure to convert to PgParamDesc.

Signed-off-by: Thomas Segismont <tsegismont@gmail.com>
@tsegismont tsegismont merged commit d4e5c28 into eclipse-vertx:4.x Sep 17, 2024
24 checks passed
@tsegismont tsegismont deleted the issue/1463 branch September 17, 2024 12:14
tsegismont added a commit to tsegismont/vertx-sql-client that referenced this pull request Sep 17, 2024
eclipse-vertx#1464)

Fixes eclipse-vertx#1463

With this change, a DataType always has a param extractor.
The default extractor signals the failure to convert to PgParamDesc.

Signed-off-by: Thomas Segismont <tsegismont@gmail.com>
tsegismont added a commit to tsegismont/vertx-sql-client that referenced this pull request Jan 17, 2025
See eclipse-vertx#1477

This is a regression introduced in eclipse-vertx#1464

When the value is null, the extractor throws a failure.
Then, in ErrorMessageFactory.buildWhenArgumentsTypeNotMatched, a NPE is thrown because the value of the class cannot be determined.

Signed-off-by: Thomas Segismont <tsegismont@gmail.com>
tsegismont added a commit that referenced this pull request Jan 17, 2025
…1486)

See #1477

This is a regression introduced in #1464

When the value is null, the extractor throws a failure.
Then, in ErrorMessageFactory.buildWhenArgumentsTypeNotMatched, a NPE is thrown because the value of the class cannot be determined.

Signed-off-by: Thomas Segismont <tsegismont@gmail.com>
tsegismont added a commit to tsegismont/vertx-sql-client that referenced this pull request Jan 17, 2025
…clipse-vertx#1486)

See eclipse-vertx#1477

This is a regression introduced in eclipse-vertx#1464

When the value is null, the extractor throws a failure.
Then, in ErrorMessageFactory.buildWhenArgumentsTypeNotMatched, a NPE is thrown because the value of the class cannot be determined.

Signed-off-by: Thomas Segismont <tsegismont@gmail.com>
tsegismont added a commit that referenced this pull request Jan 17, 2025
…1486) (#1487)

See #1477

This is a regression introduced in #1464

When the value is null, the extractor throws a failure.
Then, in ErrorMessageFactory.buildWhenArgumentsTypeNotMatched, a NPE is thrown because the value of the class cannot be determined.

Signed-off-by: Thomas Segismont <tsegismont@gmail.com>
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