Skip to content

Cosmos: ReadItem should be used for Reload #33893

@ajcvickers

Description

@ajcvickers

Same repro code as for #33881. Do:

await context.Entry(x).ReloadAsync();

This could be a ReadItem, but is actually:

      SELECT VALUE {"Id" : c["Id"], "Discriminator" : c["Discriminator"], "Title" : c["Title"], "id0" : c["id"], "" : c}
      FROM root c
      WHERE ((c["Discriminator"] = "Post") AND (c["Id"] = @__p_0))
      OFFSET 0 LIMIT 1

Metadata

Metadata

Assignees

No fields configured for Feature.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions