SenseNet / sn-client-dotnet

A .Net client for sensenet that makes it easy to use the REST API of the Content Repository.
https://www.sensenet.com/
GNU General Public License v2.0
7 stars 16 forks source link

Projection automation #145

Open kavics opened 1 month ago

kavics commented 1 month ago

A certain basic field set must be provided to produce the correct Content descendant instance when processing the web response. The basic field set is Id, Type, Path, and possibly the Name. For example, the request object has the following:

Expand = new["ModifiedBy"]
Select = new["ModifiedBy/LoginName"]

The request needs to be completed with:

Expand = new["ModifiedBy"]
Select = new["Id", "Type", "Path", "ModifiedBy/Id", "ModifiedBy/Type", "ModifiedBy/Path", "ModifiedBy/LoginName"]