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

Part of JSON primitive collection serialization #31272

Merged
merged 4 commits into from
Jul 19, 2023
Merged

Conversation

ajcvickers
Copy link
Member

@ajcvickers ajcvickers commented Jul 15, 2023

Part of #30677

There is still work to do here, but this is basically working so I wanted to get it out for review.

Remaining work:

  • Negative cases/exception messages
  • Re-introduce checks for whether or not query supports primitive collections
  • Cases where the primitive collection object exists and should be added to Uses existing JSON primitive collection instead of creating a new one #31282
  • Custom element type mapping on the property
  • Custom element reader/writer
  • Custom collection reader/writer
  • Use default element type mapping configured in ConfigureConventions
  • Update Cosmos primitive collection mapping
  • More query tests!

@ajcvickers ajcvickers requested a review from a team July 15, 2023 14:10
@maumar
Copy link
Contributor

maumar commented Jul 17, 2023

shaper changes look good!

ajcvickers added a commit that referenced this pull request Jul 17, 2023
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.
@ajcvickers
Copy link
Member Author

@roji Any thoughts on this? I've got the next part ready to go.

Part of #30677

There is still work to do here, but this is basically working so I wanted to get it out for review.

Remaining work:
- Negative cases/exception messages
- Re-introduce checks for whether or not query supports primitive collections
- Cases where the primitive collection object exists and should be added to
- Custom element type mapping on the property
- Custom element reader/writer
- Custom collection reader/writer
- Use default element type mapping configured in ConfigureConventions
- Update Cosmos primitive collection mapping
- More query tests!
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.
@ajcvickers ajcvickers merged commit 95cf62e into main Jul 19, 2023
@ajcvickers ajcvickers deleted the 230711HangInThereJson branch July 19, 2023 14:39
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.

4 participants