Skip to content

Commit

Permalink
Recover Select to prevent unsupported operation (yorkie-team#629)
Browse files Browse the repository at this point in the history
  • Loading branch information
hackerwins authored and Wu22e committed Sep 3, 2023
1 parent 9dee3bf commit f569fef
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions api/converter/from_pb.go
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,9 @@ func FromOperations(pbOps []*api.Operation) ([]operations.Operation, error) {
op, err = fromEdit(decoded.Edit)
case *api.Operation_Style_:
op, err = fromStyle(decoded.Style)
case *api.Operation_Select_:
// NOTE(hackerwins): Operation_Select is deprecated.
continue
case *api.Operation_Increase_:
op, err = fromIncrease(decoded.Increase)
case *api.Operation_TreeEdit_:
Expand Down

0 comments on commit f569fef

Please sign in to comment.