Skip to content

Allowed usage of PgName for classes, structs and enums - #3391

Merged
YohDeadfall merged 1 commit into
npgsql:mainfrom
YohDeadfall:pg-name-usage
Dec 8, 2020
Merged

YohDeadfall merged 1 commit into
npgsql:mainfrom
YohDeadfall:pg-name-usage

Conversation

@YohDeadfall

Copy link
Copy Markdown
Contributor

Fixes #3390.

@YohDeadfall
YohDeadfall requested a review from roji as a code owner December 4, 2020 15:46

@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.

I don't remember why this was missed... Probably because for enum/composite name, you have the option of specifying it when mapping - but not for the fields.

Maybe a test that this actually works?

@YohDeadfall

Copy link
Copy Markdown
Contributor Author

Done as a part of the following PR (not published since blocked by this one).

@YohDeadfall
YohDeadfall merged commit 7f581c7 into npgsql:main Dec 8, 2020
@YohDeadfall
YohDeadfall deleted the pg-name-usage branch December 8, 2020 19:28
YohDeadfall added a commit that referenced this pull request Dec 8, 2020
YohDeadfall added a commit that referenced this pull request Dec 8, 2020
@YohDeadfall

Copy link
Copy Markdown
Contributor Author

Cherry-picked to 4.1.7 via 48d94ee and to 5.0.1 via c9bbf75.

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.

PgName is supposed to be specified on types, but this isn't listed in the attribute usage

2 participants