-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't serialize JSON in WriteToChorusNotes handler (#402)
Similarly to what we just did with the GetChorusNotes handler, we can skip serializing JSON in the WriteToChorusNotes handler as well.
- Loading branch information
Showing
3 changed files
with
71 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// Copyright (c) 2010-2024 SIL International | ||
// This software is licensed under the MIT License (http://opensource.org/licenses/MIT) | ||
|
||
using System.Collections.Generic; | ||
using LfMergeBridge.LfMergeModel; | ||
|
||
namespace LfMergeBridge | ||
{ | ||
public class WriteToChorusNotesInput | ||
{ | ||
public List<KeyValuePair<string, LfComment>> LfComments; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// Copyright (c) 2010-2024 SIL International | ||
// This software is licensed under the MIT License (http://opensource.org/licenses/MIT) | ||
|
||
using System; | ||
using System.Collections.Generic; | ||
using LfMergeBridge.LfMergeModel; | ||
|
||
namespace LfMergeBridge | ||
{ | ||
public class WriteToChorusNotesResponse | ||
{ | ||
public Dictionary<string,Guid> CommentIdsThatNeedGuids; | ||
public Dictionary<string,Guid> ReplyIdsThatNeedGuids; | ||
} | ||
} |