firebase-database-dotnet
firebase-database-dotnet copied to clipboard
adding slash before .json
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

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.
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.
Closing the issue due to inactivity. Feel free to re-open