Skip to content

Add a connection string parameter to return nullable arrays by default - #3388

Merged
Brar merged 6 commits into
npgsql:mainfrom
Brar:AddConnectionStringParameterToReturnNullableArraysByDefault
Dec 9, 2020
Merged

Brar merged 6 commits into
npgsql:mainfrom
Brar:AddConnectionStringParameterToReturnNullableArraysByDefault

Conversation

@Brar

@Brar Brar commented Dec 4, 2020

Copy link
Copy Markdown
Member

Closes #3386

@roji roji left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks pretty good @Brar, here are some comments.

Comment thread src/Npgsql/PublicAPI.Shipped.txt Resolved
Comment thread src/Npgsql/TypeHandlers/ArrayHandler.cs Resolved
Comment thread test/Npgsql.Tests/Types/ArrayTests.cs Resolved
Comment thread src/Npgsql/TypeHandlers/ArrayHandler.cs Resolved

@roji roji left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good, see two nits below.

@Brar
Brar merged commit c9e1444 into npgsql:main Dec 9, 2020
@roji

roji commented Dec 10, 2020

Copy link
Copy Markdown
Member

Thanks for this @Brar, hopefully it will give people the options they need.

I backported this to 5.0.1 via da8d794.

One small note... for the public API analyzer, we should probably move your changed from Unshipped to Shipped (since we're doing public changes in a patch release) - will maybe do this later...

@Brar
Brar deleted the AddConnectionStringParameterToReturnNullableArraysByDefault branch December 10, 2020 16:17
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.

Add a connection string parameter to return nullable arrays by default

2 participants