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

Create tree-shakeable Msgpack module #1375

Closed
owenpearson opened this issue Jul 5, 2023 · 1 comment
Closed

Create tree-shakeable Msgpack module #1375

owenpearson opened this issue Jul 5, 2023 · 1 comment
Assignees

Comments

@owenpearson
Copy link
Member

  • depends on Create tree-shakeable BaseClient and Rest modules #1374
  • create a class called Msgpack which can be passed to the BaseClient constructor
  • if and only if the Msgpack module is not supplied, BaseClient will use json encoding for all requests and the msgpack dependency will not be imported
@sync-by-unito
Copy link

sync-by-unito bot commented Jul 5, 2023

➤ Automation for Jira commented:

The link to the corresponding Jira issue is https://ably.atlassian.net/browse/SDK-3718

lawrence-forooghian added a commit that referenced this issue Aug 21, 2023
The _MsgPack assignment becomes the only place that
Platform.Config.msgpack gets accessed. All other uses now instead access
_MsgPack.

Preparation for #1375 (making MessagePack functionality tree-shakable).
lawrence-forooghian added a commit that referenced this issue Aug 21, 2023
Preparation for #1375 (making MessagePack functionality tree-shakable).
lawrence-forooghian added a commit that referenced this issue Aug 21, 2023
The _MsgPack assignment becomes the only place that
Platform.Config.msgpack gets accessed. All other uses now instead access
_MsgPack.

Preparation for #1375 (making MessagePack functionality tree-shakable).
lawrence-forooghian added a commit that referenced this issue Aug 21, 2023
We move the MessagePack functionality into a tree-shakable MsgPack
module.

Resolves #1375.
lawrence-forooghian added a commit that referenced this issue Aug 21, 2023
Preparation for #1375 (making MessagePack functionality tree-shakable).
lawrence-forooghian added a commit that referenced this issue Aug 21, 2023
The _MsgPack assignment becomes the only place that
Platform.Config.msgpack gets accessed. All other uses now instead access
_MsgPack.

Preparation for #1375 (making MessagePack functionality tree-shakable).
lawrence-forooghian added a commit that referenced this issue Aug 21, 2023
This is preparation for #1375 (making MessagePack functionality
tree-shakable), in which there may not be a MessagePack implementation
available.

We update normaliseClientOptions so that it only sets useBinaryProtocol
to true if there is a MessagePack implementation available.
lawrence-forooghian added a commit that referenced this issue Aug 21, 2023
We move the MessagePack functionality into a tree-shakable MsgPack
module.

Resolves #1375.
lawrence-forooghian added a commit that referenced this issue Aug 21, 2023
This is preparation for #1375 (making MessagePack functionality
tree-shakable), in which there may not be a MessagePack implementation
available.

We update normaliseClientOptions so that it only sets useBinaryProtocol
to true if there is a MessagePack implementation available.
lawrence-forooghian added a commit that referenced this issue Aug 21, 2023
We move the MessagePack functionality into a tree-shakable MsgPack
module.

Resolves #1375.
lawrence-forooghian added a commit that referenced this issue Aug 21, 2023
We move the MessagePack functionality into a tree-shakable MsgPack
module.

Resolves #1375.
lawrence-forooghian added a commit that referenced this issue Aug 22, 2023
Preparation for #1375 (making MessagePack functionality tree-shakable).
lawrence-forooghian added a commit that referenced this issue Aug 22, 2023
The _MsgPack assignment becomes the only place that
Platform.Config.msgpack gets accessed. All other uses now instead access
_MsgPack.

Preparation for #1375 (making MessagePack functionality tree-shakable).
lawrence-forooghian added a commit that referenced this issue Aug 22, 2023
This is preparation for #1375 (making MessagePack functionality
tree-shakable), in which there may not be a MessagePack implementation
available.

We update normaliseClientOptions so that it only sets useBinaryProtocol
to true if there is a MessagePack implementation available.
lawrence-forooghian added a commit that referenced this issue Aug 22, 2023
We move the MessagePack functionality into a tree-shakable MsgPack
module.

Resolves #1375.
lawrence-forooghian added a commit that referenced this issue Aug 22, 2023
This is preparation for #1375 (making MessagePack functionality
tree-shakable), in which there may not be a MessagePack implementation
available.

We update normaliseClientOptions so that it only sets useBinaryProtocol
to true if there is a MessagePack implementation available.
lawrence-forooghian added a commit that referenced this issue Aug 22, 2023
We move the MessagePack functionality into a tree-shakable MsgPack
module.

Resolves #1375.
lawrence-forooghian added a commit that referenced this issue Aug 22, 2023
We move the MessagePack functionality into a tree-shakable MsgPack
module.

Resolves #1375.
lawrence-forooghian added a commit that referenced this issue Aug 22, 2023
TODO test
TODO remove static PresenceMessage property

Resolves #1375.
lawrence-forooghian added a commit that referenced this issue Aug 23, 2023
We move it into a tree-shakable RealtimePresence module.

Resolves #1375.
lawrence-forooghian added a commit that referenced this issue Aug 23, 2023
We move it into a tree-shakable RealtimePresence module.

Resolves #1375.
lawrence-forooghian added a commit that referenced this issue Aug 23, 2023
We move it into a tree-shakable RealtimePresence module.

Resolves #1375.
lawrence-forooghian added a commit that referenced this issue Aug 23, 2023
We move the MessagePack functionality into a tree-shakable MsgPack
module.

Resolves #1375.
lawrence-forooghian added a commit that referenced this issue Aug 23, 2023
We move it into a tree-shakable RealtimePresence module.

Resolves #1375.
lawrence-forooghian added a commit that referenced this issue Sep 5, 2023
Preparation for #1375 (making MessagePack functionality tree-shakable).
lawrence-forooghian added a commit that referenced this issue Sep 5, 2023
The _MsgPack assignment becomes the only place that
Platform.Config.msgpack gets accessed. All other uses now instead access
_MsgPack.

Preparation for #1375 (making MessagePack functionality tree-shakable).
lawrence-forooghian added a commit that referenced this issue Sep 5, 2023
We move the MessagePack functionality into a tree-shakable MsgPack
module.

Resolves #1375.
lawrence-forooghian added a commit that referenced this issue Sep 5, 2023
We move it into a tree-shakable RealtimePresence module.

Resolves #1375.
lawrence-forooghian added a commit that referenced this issue Sep 14, 2023
Preparation for #1375 (making MessagePack functionality tree-shakable).
lawrence-forooghian added a commit that referenced this issue Sep 14, 2023
The _MsgPack assignment becomes the only place that
Platform.Config.msgpack gets accessed. All other uses now instead access
_MsgPack.

Preparation for #1375 (making MessagePack functionality tree-shakable).
lawrence-forooghian added a commit that referenced this issue Sep 14, 2023
We move the MessagePack functionality into a tree-shakable MsgPack
module.

Resolves #1375.
lawrence-forooghian added a commit that referenced this issue Sep 14, 2023
We move it into a tree-shakable RealtimePresence module.

Resolves #1375.
lawrence-forooghian added a commit that referenced this issue Oct 26, 2023
Preparation for #1375 (making MessagePack functionality tree-shakable).
lawrence-forooghian added a commit that referenced this issue Oct 26, 2023
The _MsgPack assignment becomes the only place that
Platform.Config.msgpack gets accessed. All other uses now instead access
_MsgPack.

Preparation for #1375 (making MessagePack functionality tree-shakable).
lawrence-forooghian added a commit that referenced this issue Oct 26, 2023
We move the MessagePack functionality into a tree-shakable MsgPack
module.

Resolves #1375.
lawrence-forooghian added a commit that referenced this issue Oct 26, 2023
We move it into a tree-shakable RealtimePresence module.

Resolves #1375.
lawrence-forooghian added a commit that referenced this issue Oct 26, 2023
Preparation for #1375 (making MessagePack functionality tree-shakable).
lawrence-forooghian added a commit that referenced this issue Oct 26, 2023
The _MsgPack assignment becomes the only place that
Platform.Config.msgpack gets accessed. All other uses now instead access
_MsgPack.

Preparation for #1375 (making MessagePack functionality tree-shakable).
lawrence-forooghian added a commit that referenced this issue Oct 26, 2023
We move the MessagePack functionality into a tree-shakable MsgPack
module.

Resolves #1375.
lawrence-forooghian added a commit that referenced this issue Oct 26, 2023
We move it into a tree-shakable RealtimePresence module.

Resolves #1375.
lawrence-forooghian added a commit that referenced this issue Nov 7, 2023
Preparation for #1375 (making MessagePack functionality tree-shakable).
lawrence-forooghian added a commit that referenced this issue Nov 7, 2023
The _MsgPack assignment becomes the only place that
Platform.Config.msgpack gets accessed. All other uses now instead access
_MsgPack.

Preparation for #1375 (making MessagePack functionality tree-shakable).
lawrence-forooghian added a commit that referenced this issue Nov 7, 2023
We move the MessagePack functionality into a tree-shakable MsgPack
module.

Resolves #1375.
lawrence-forooghian added a commit that referenced this issue Nov 7, 2023
We move it into a tree-shakable RealtimePresence module.

Resolves #1375.
@sync-by-unito sync-by-unito bot closed this as completed Nov 9, 2023
lawrence-forooghian added a commit that referenced this issue Nov 14, 2023
We move it into a tree-shakable RealtimePresence module.

Resolves #1375.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants