-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make Sense.PartOfSpeech an object instead of a string (#1350)
* Backend changes to make PartOfSpeech an object * Mark FwLiteProjectSync tests as integration tests These tests run a Send/Receive as part of the test and are too slow to be considered unit tests. * Fix a couple of tests broken by PoS type change * Fix failing integration tests * Fix up part of speech creation in AutoFaker * don't store PartOfSpeech objects in CreateSenseChange * load part of speech when loading senses * ensure EntryReadyForCreation always creates a part of speech when either PartOfSpeechId or PartOfSpeech are defined * fix UpdateSensePartOfSpeech as now `PartOfSpeech` gets used when creating a sense * When part of speech GUID not found, should throw * Change to frontend generated type for PartOfSpeech Auto-generated types for frontend have picked up the change of Sense.PartOfSpeech from a string to an object, so now it's time to change the frontend code accordingly. * Update entry-data.ts and utils.ts to use IPartOfSpeech More UI changes will ripple out from here * Update test sena-3 data with new partOfSpeech objects * Add other parts of speech found in Sena-3 test data Having the complete list ensures that the Sena-3 test project's grammar picker, and the display of the parts of speech, will work. * VerifyDbModel test now expects PartOfSpeech object * Can now validate PartOfSpeech GUIDs safely * handle deleted semantic domains and part of speech in CreateSenseChange * Add FwLite DB migration for part of speech object --------- Co-authored-by: Kevin Hahn <[email protected]>
- Loading branch information
Showing
30 changed files
with
875 additions
and
122 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
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
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
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
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
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
Oops, something went wrong.