Skip to content

Removed unmapped composite support - #2476

Merged
YohDeadfall merged 1 commit into
npgsql:devfrom
YohDeadfall:no-unmapped-composites
Jun 3, 2019
Merged

YohDeadfall merged 1 commit into
npgsql:devfrom
YohDeadfall:no-unmapped-composites

Conversation

@YohDeadfall

Copy link
Copy Markdown
Contributor

Closes #2403.

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

Thanks for doing this @YohDeadfall. See small nit and question, otherwise LGTM.

@austindrenski austindrenski left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🎉

@YohDeadfall
YohDeadfall merged commit 929fb41 into npgsql:dev Jun 3, 2019
@YohDeadfall
YohDeadfall deleted the no-unmapped-composites branch June 3, 2019 11:13
@kerams

kerams commented Nov 17, 2020

Copy link
Copy Markdown

So in v5 there is no ExpandoObject, but user-defined composites can be read as strings....?

@YohDeadfall

Copy link
Copy Markdown
Contributor Author

As a struct or class which must be mapped by invoking MapComposite method as described in the documentation.

@kerams

kerams commented Nov 18, 2020

Copy link
Copy Markdown

Thanks, I've only seen the FAQ page that the NotSupportedException pointed me to.

@roji

roji commented Nov 18, 2020

Copy link
Copy Markdown
Member

We've got a breaking change note on that BTW.

@kerams

kerams commented Nov 18, 2020 •

Copy link
Copy Markdown

Seen that too, it links to the issue mentioned in OP. For someone that didn't know composite type mapping was a thing it did not provide a lot to go on (but I didn't exactly look around much either), that's why I asked here.

Anyway, the Enums and composites docs page still contains a section about dynamic composite type reading. Not sure if it's an oversight or if you're keeping it there for the sake of v4.

@roji

roji commented Nov 19, 2020

Copy link
Copy Markdown
Member

@kerams thanks for pointing that out - I'll remove the info on dynamic composite mapping.

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.

Drop unmapped composite support

4 participants