Comments (3)
The reason why the cache is being incorrectly constructed is because in the switch statement on line 86 in "TemporaryCache.cs", there is no case for JsonToken.EndOfObject. To fix all you have to do is add:
case JsonToken.EndOfObject: break;
As for why the eventhandler is fired four times is because the eventhandler is called for every single value. Your todo object contains two values hence for each todo the eventhandler is fired twice resulting in 4 notifications. Currently figuring out a way to rewrite the cache to fire notifications per object.
from firesharp.
Can we please get this bug fix into the master branch? I just spent an hour fixing this issue.
from firesharp.
This commit https://github.com/AButler/FireSharp/commit/c405f9635c03bc8cd16e6a115257a8b7ff06c447 fixes the issue. But NuGet package won't have this fix. Please do change as in the commit to TemporaryChange.cs
from firesharp.
Related Issues (20)
- Client Connections are staying open
- Firebase Admin SDK HOT 1
- Unity WebGL
- Firebase Database
- OnAsync HOT 1
- Call A Function On Data Change
- dot not allowed in request path
- response.Dispose() doesn't stop listening to event for OnAsync() HOT 2
- Potential Security Issue
- child_removed doesn't work almost a year, maybe even more
- Where-statement
- Configure FireSharp without using Firebase Admin SDK HOT 3
- Last version release 5/10/2016?
- Don't use this plugin it's outdated! (There is alternative)
- onAsync- notifications
- Seeking maintainers?
- CreateUser(Email, Password) 500 internal error
- This package is not for .net6 HOT 1
- Migrated to .NET 6 HOT 4
- how can i protect my database with rules
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from firesharp.