Skip to content

Conversation

@devnexen
Copy link
Member

…onstructor args

error.

@devnexen devnexen force-pushed the raw_sqlapi_fetch_value_error branch 2 times, most recently from 145207c to 5a8ac73 Compare March 11, 2023 23:47
Copy link
Member

@Girgias Girgias left a comment

Choose a reason for hiding this comment

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

UPGRADING nit but LGTM otherwise!

Comment on lines 95 to 101
- mysqli:
. mysqli_fetch_object raises a ValueError when the constructor_args argument
is non empty with the class not having constructor.

- PGSQL:
. pg_fetch_object raises a ValueError when the constructor_args argument
is non empty with the class not having constructor.

Copy link
Member

Choose a reason for hiding this comment

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

Nit: just to clarify that it already was throwing.

Suggested change
- mysqli:
. mysqli_fetch_object raises a ValueError when the constructor_args argument
is non empty with the class not having constructor.
- PGSQL:
. pg_fetch_object raises a ValueError when the constructor_args argument
is non empty with the class not having constructor.
- mysqli:
. mysqli_fetch_object now raises a ValueError instead of an Exception when the constructor_args
argument is non empty with the class not having constructor.
- PGSQL:
. pg_fetch_object now raises a ValueError instead of an Exception when the constructor_args
argument is non empty with the class not having constructor.

@devnexen devnexen force-pushed the raw_sqlapi_fetch_value_error branch from 5a8ac73 to 74a211b Compare March 13, 2023 18:03
@devnexen devnexen closed this in 974a3d8 Mar 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants