-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor
ErrorRecord
into a Simple Data Class
The ErrorRecord class has been refactored into a simpler data class. Initially, ErrorRecord could only be determined within the ErrorRelay implementation. To accommodate different models, ErrorRecord was designed as an interface. In the new implementation, the decision point for ErrorRecord has been added to each Options object through the `shouldSuppressErrorRelay` method. This allows for a simplified ErrorRecord while preserving the same mechanism. Consequently, the implementation has been modified to utilize a simpler data type. refs: #51
- Loading branch information
1 parent
9e98933
commit 5a6c79f
Showing
9 changed files
with
115 additions
and
101 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
39 changes: 0 additions & 39 deletions
39
soil-query-core/src/commonMain/kotlin/soil/query/MutationError.kt
This file was deleted.
Oops, something went wrong.
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
39 changes: 0 additions & 39 deletions
39
soil-query-core/src/commonMain/kotlin/soil/query/QueryError.kt
This file was deleted.
Oops, something went wrong.
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.