Skip to content

The priority of overloaded method (AddBody) was changed #4

@tarukosu

Description

@tarukosu

When I tried StorageServicesDemo with latest RESTClient(4f985e0), an authentication error happend.
https://github.com/Unity3dAzure/StorageServicesDemo

The reason is that this commit(d563bb0) adds an default argument to AddBody.

BlobService.cs calls AddBody method.
https://github.com/Unity3dAzure/StorageServices/blob/f1321b3665839b8906516ca4327e9648c6743851/BlobService.cs#L130

Before this commit(d563bb0), BlobService.cs refers to this method.

public void AddBody(byte[] bytes, string contentType) {

After the commit, however, BlobService.cs refers to this method.
public virtual void AddBody<T>(T data, string contentType = "application/json; charset=utf-8") {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions