Comments (12)
Hi guys, any update on this as far as a permanent fix is concerned, I'd rather use observable if a fix is forthcoming.
from observable.
I'll do some testing on our codebase to see if we can easily fix up any breaks.
from observable.
@nshahan ?
from observable.
@wsakka it has been fixed with version 0.22.1+5.
I am closing this issue.
from observable.
I assume you're seeing the issue at runtime in DDC? what version of the SDK are you on?
from observable.
sorry.
DDC
dev-24 and dev-28 neither worked
from observable.
If we change the type to List<C>
then I think the assignment to ChangeRecord.ANY
would fail.
ChangeRecord.ANY
is a List<ChangeRecord>
which is not a List<C>
I think this is likely to be a bit tougher to solve and I'm not sure if we have the bandwidth to dig deeply on it...
from observable.
yeah, just tested it and it threw an error with ANY.
that is probably why it was List<ChangeRecord>
in the first place.
Maybe just sending an empty instead of the ANY const?
afterall, that dummy ChangeRecord wasn't much of a help.
Or you can store the last queue and send it again if the new queue is empty.
from observable.
CC @nshahan
from observable.
For now I am using my fork: https://github.com/jodinathan/observable
It basically changes:
to:
List<C> changes;
and
to:
changes = <C>[];
It is a breaking change, however, that empty ChangeRecord from ANY const has no value at all.
from observable.
I've created a pull request to fix this issue:
from observable.
Not sure why the flutter team leaves these issues open -- it's been a year, what's the status of this issue?
from observable.
Related Issues (20)
- Null safety HOT 3
- ObservableList's change not being listened to
- Update travis.yaml to only build 1.22?
- ListChangeRecord.added gives incorrect results HOT 2
- List change never firing, this prints nothing HOT 1
- please widen quiver dependency constraint HOT 1
- please support quiver 0.28.0 HOT 2
- ObservableSet.clear() does not trigger change notifications HOT 1
- Write a CHANGELOG for 0.21.0
- Dart 2 runtime errors in tests HOT 1
- Can we have some usage examples for this please? HOT 1
- Confusing doc / inconsistent implementation HOT 1
- Option to supply equality comparer in ObservableList
- how to use this? HOT 1
- ObservableList doesn't implement all ListBase methods HOT 2
- ObservableMap doesn't notify for all mutation methods HOT 1
- Implementation of cast methods allows mutation without notifications.
- Please update to support dart 2.9.0-5.0.dev HOT 1
- unused dart:async in observable.dart HOT 1
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 observable.