We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.

Forum Discussion

6EHPS2's avatar
6EHPS2
Explorer | Level 3
5 years ago

Typo in "Obsolete" attribute

The method declarations of both CreateFolderAsync(CreateFolderArg) and CreateFolderAsync(String, Boolean) are marked as obsolete:

[Obsolete("This function is deprecated, please use CreateFolderAsync instead.")]
public Task<FolderMetadata> CreateFolderAsync(CreateFolderArg createFolderArg);
[Obsolete("This function is deprecated, please use CreateFolderAsync instead.")]
public Task<FolderMetadata> CreateFolderAsync(string path, bool autorename = false);

However, these messages do not make sense. Obviously, both messages should instead refer to the CreateFolderV2Async method.

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    Thanks for the report, and apologies for the confusion! You're correct, these messages should refer to the newer version of the method like you said. I'll ask the team to fix that up.