Skip to content
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

feat(websocket): Add serializer/deserializer config settings #3489

Merged
merged 1 commit into from
Mar 29, 2018

Commits on Mar 29, 2018

  1. feat(websocket): Add serializer/deserializer config settings

    - Fixes the build for latest TypeScript
    - Adds a `serializer` and `deserializer` config setting that defaults to JSON serialization both in and out of the socket
    - deprecates the `resultSelector` (use `deserializer` instead)
    
    BREAKING CHANGE: WebSocketSubject will now JSON serialize all messages sent over it by default, to return to the old behavior, pass a config setting of `serializer: x => x` like so: `websocket({ url, serializer: x => x })`
    benlesh committed Mar 29, 2018
    Configuration menu
    Copy the full SHA
    0a44fdf View commit details
    Browse the repository at this point in the history