Skip to content

Commit

Permalink
Revert "Use JSONValue for ReplayMutation args"
Browse files Browse the repository at this point in the history
This reverts commit 0804561.

Toward #422

Still needs integration test that could have caught this.
  • Loading branch information
aboodman committed Jul 2, 2021
1 parent 8ab8223 commit 76ae582
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/replicache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@ export class Replicache<MD extends MutatorDefs = {}>
syncHead,
mutation.original,
mutation.name,
mutation.args,
JSON.parse(mutation.args),
);
}

Expand Down
2 changes: 1 addition & 1 deletion src/repm-invoker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ type MaybeEndTryPullRequest = {
export type Mutation = {
id: number;
name: string;
args: JSONValue;
args: string;
};

type ReplayMutation = Mutation & {
Expand Down
2 changes: 1 addition & 1 deletion tool/get-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
ORIG=`pwd`
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
ROOT=$DIR/../
REPC_VERSION='v0.32.0'
REPC_VERSION='v0.32.1'

(
cd $ROOT
Expand Down

0 comments on commit 76ae582

Please sign in to comment.