-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/platform message encoding #5
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Contributor
tiholic
commented
Apr 30, 2020
- ErrorInfo encapsulation in PlatformException and AblyException
- CodecPairs for better manageability
- ObjectiveC code improvement
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @tiholic
My thoughts:
- This PR includes some of what I see in Feature/platform message encoding #5, which makes this review a) longer to do, b) harder to know what I am reviewing. Each PR should encapsulated sufficiently that it can be reviewed and landed on the branch it's based on, and should not include commits from other PRs (either it's self-standing and can be merged onto the feature branch, or it's a branch off another PR's branch).
- I am still very concerned by the brittleness of the way value types are passed around, where we are not using a robust serializes data structure. This will inevitably break, and the bad part about this, is it could break really badly with just one innocuous change. I would like to see a solution to this problem, perhaps Protocol Buffers or something similar.
@mattheworiordan as @QuintinWillison suggested, I've updated target branches so reviews can be done better. |
This was referenced May 4, 2020
Merged
- for better managing encoding and decoding methods in custom Codec - Adding decodeErrorInfo to get error info from platform channel - retrieving ErrorInfo instance from platform exception to AblyException
- refactor codec related files into codec/ - AblyFlutterWriter added to pass objects from iOS to Flutter - ErrorInfo from ably passed on to Flutter side via PlatformException while publishing rest messages
0c862fe
to
c11e35d
Compare
Rebased to resolve conflicts. Changed the target branch to master. |
This was referenced May 7, 2020
QuintinWillison
approved these changes
May 13, 2020
tiholic
pushed a commit
that referenced
this pull request
May 20, 2020
- mustache template based codegen - generates codec types and platform methods - addresses #5 (comment)
tiholic
pushed a commit
that referenced
this pull request
Jun 20, 2020
- mustache template based codegen - generates codec types and platform methods - addresses #5 (comment)
tiholic
pushed a commit
that referenced
this pull request
Jul 6, 2020
- mustache template based codegen - generates codec types and platform methods - addresses #5 (comment)
QuintinWillison
added a commit
that referenced
this pull request
Mar 19, 2021
Hoping to solve this error in workflow environment: Unhandled exception: Invalid argument (uri): Unknown package: Instance of '_SimpleUri' #0 _resolveUri.<anonymous closure> (package:dartdoc/src/generator/resource_loader.dart:34:9) #1 _RootZone.runUnary (dart:async/zone.dart:1612:54) #2 _FutureListener.handleValue (dart:async/future_impl.dart:152:18) #3 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:704:45) #4 Future._propagateToListeners (dart:async/future_impl.dart:733:32) #5 Future._completeWithValue (dart:async/future_impl.dart:539:5) #6 Future._asyncCompleteWithValue.<anonymous closure> (dart:async/future_impl.dart:577:7) #7 _microtaskLoop (dart:async/schedule_microtask.dart:40:21) #8 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49:5) #9 _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:120:13) #10 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:185:5) Error: Process completed with exit code 255.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.