Doxense / foundationdb-dotnet-client

C#/.NET Binding for FoundationDB Client API
BSD 3-Clause "New" or "Revised" License
149 stars 33 forks source link

Refactoring of Directory Paths #102

Closed KrzysFR closed 4 years ago

KrzysFR commented 4 years ago

This pull request has several objectives, mainly to fix some long-standing issues and also little API annoyances.

These issues are explained in https://forums.foundationdb.org/t/most-common-issues-or-annoyances-when-using-the-directory-layer/2096

They are:

This PR also fixes a few issues and bugs in the DL that were found while refactoring:

Renaming FdbDirectoryPath to FdbPath is primary to reduce the length of the type, but also to force a code review of any use of that type in the application, to make sure that it is the correct type (absolute vs relative), and that it correctly includes any Layer Id.