Skip to content

Missing method PatchAsync on FileStorageContainer CustomProperties #3066

@jimmywim

Description

@jimmywim

Describe the bug

In the v1.0 documentation, to add/update/delete custom properties on a filestoragecontainer resource you issue a PATCH on the container/customProperties endpoint.

The CustomProperties property is missing from the FileStorageContainerRequestItemBuilder type, therefore unable to issue a PatchAsync() on CustomProperties.

Additionally, the type that serializes the properties, FileStorageContainerCustomPropertyDictionary appears to be missing schema required to be able to fulfil the request, so to issue the patch requests we may have to just populate AdditionalData manually in the short term, as it's not a simple key-value map, each "value" is an object that has the raw value and a bool property indicating that the property is searchable, isSearchable, I presume this bool property is to update the underlying vti_indexedpropertykeys in the container's web property bag.

Expected behavior

To be able to do:

client.Storage.FileStorage.Containers[<containerId>].CustomProperties.PatchAsync(<payload>)

How to reproduce

Install current version of the dotnet client, navigate through the object hierarchy to Storage.FileStorage.Containers[""] and notice CustomProperties is missing from the request builder.

SDK Version

5.102.0

Latest version known to work for scenario above?

No response

Known Workarounds

No response

Debug output

Click to expand log ```
</details>


### Configuration

_No response_

### Other information

_No response_

Metadata

Metadata

Assignees

No one assigned

    Labels

    status:waiting-for-triageAn issue that is yet to be reviewed or assignedtype:bugA broken experience

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions