firebase-database-dotnet icon indicating copy to clipboard operation
firebase-database-dotnet copied to clipboard

adding slash before .json

Open syedadeel2 opened this issue 4 years ago • 2 comments

All sort of operation your library adding /.json in the URL see below:

public async Task<IReadOnlyCollection<StaffMember>> GetStaff()
 {
            var result = await FbClient.Child("staff")
                .OrderByKey()
                .OnceAsync<StaffMember>();

            return result.Select(x => new StaffMember(x.Object.Name, x.Key, x.Object.Email, x.Object.Role)).ToArray();
}

see the result

image

syedadeel2 avatar Nov 21 '21 08:11 syedadeel2

That's normal behavior, so it doesn't break functionality. There are tests here that specifically check for that pattern, and also a few places in the official docs.

cabauman avatar Nov 25 '21 11:11 cabauman

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jul 31 '22 08:07 stale[bot]

Closing the issue due to inactivity. Feel free to re-open

stale[bot] avatar Sep 21 '22 03:09 stale[bot]