-
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.
Improve the state-based model for type safety in the internal code.
There was an issue in the Soil Query code where forced unwrapping was being used, which was addressed in PR #57 recently. In this PR, I have revisited the handling of nullable data types, identified as the root cause, and introduced a new `Reply<T>` type to eliminate the mismatch between `T?` and the type definition expected by users. Since the existing `data` property is likely referenced by users, the Reply model has been defined under a different property name to maintain backward compatibility. - data (unchanged) - dataUpdatedAt -> replyUpdatedAt (change) - reply (new) refs: #57
- Loading branch information
1 parent
d5da761
commit 5f63684
Showing
23 changed files
with
449 additions
and
424 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
Oops, something went wrong.