Skip to content

Part of JSON primitive collection serialization - #31272

Merged
ajcvickers merged 4 commits into
mainfrom
230711HangInThereJson
Jul 19, 2023
Merged

ajcvickers merged 4 commits into
mainfrom
230711HangInThereJson

Conversation

@ajcvickers

@ajcvickers ajcvickers commented Jul 15, 2023 •

Copy link
Copy Markdown
Contributor

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

maumar commented Jul 17, 2023

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Contributor 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 force-pushed the 230711HangInThereJson branch from fef7cb8 to 477d819 Compare July 19, 2023 12:07
@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