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

Uses existing JSON primitive collection instead of creating a new one #31282

Merged
merged 1 commit into from
Jul 18, 2023

Conversation

ajcvickers
Copy link
Contributor

Part of #30677

Builds on #31272

This is the case where the CLR types contains, for example, an ObservableCollection<int>. In this case, we populate this existing collection, rather than creating a new instance.

Same still needs to be done for relational materialization of primitive collections.

Part of #30677

Builds on #31272

This is the case where the CLR types contains, for example, an `ObservableCollection<int>`. In this case, we populate this existing collection, rather than creating a new instance.

Same still needs to be done for relational materialization of primitive collections.
}
}

var listOfT = typeof(List<>).MakeGenericType(elementType);
Copy link
Member

Choose a reason for hiding this comment

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

Is there an issue tracking making the concrete type configurable?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't think so.

Copy link
Member

Choose a reason for hiding this comment

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

Filed #31287

@ajcvickers ajcvickers merged commit 455600a into 230711HangInThereJson Jul 18, 2023
@ajcvickers ajcvickers deleted the 230715CaptainJsonPugwash branch July 18, 2023 11:25
@ajcvickers
Copy link
Contributor Author

Superseded by #31272

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.

2 participants