-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(XkcdResponse): fix
link
field deserialization
Change the type of the `link` field from `Url` to `String`. This is necessary because `Url` does not deserialize "" properly. Replacing `link` with the type `Option<Url>` was also not feasible as that does not fix the issue. Added test for deserializing `XkcdResponse` strings with a blank `link` field. BREAKING CHANGE: `link` field type was changed from `Url` to `String`.
- Loading branch information
Showing
2 changed files
with
37 additions
and
6 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