rocicorp / repc

The canonical Replicache client, implemented in Rust.
Other
30 stars 7 forks source link

change cookie from string to JSON #322

Closed phritz closed 3 years ago

phritz commented 3 years ago

the cookie defaults to null, which is the value that will be sent with the first PullRequest, and will be the default if the cookie is missing from the PullRequest/Response. If we want to change it to "" or something else we just have to update the #[serde(default)] on the field in the request and response.

progress towards https://github.com/rocicorp/repc/issues/290