mirror of
https://github.com/ramsayleung/rspotify.git
synced 2026-04-26 07:55:55 +03:00
[PR #202] [MERGED] Remove Rspotify default parameters and add parameter macros #311
Labels
No labels
Stale
bug
discussion
enhancement
good first issue
good first issue
help wanted
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/rspotify#311
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ramsayleung/rspotify/pull/202
Author: @marioortizmanero
Created: 4/19/2021
Status: ✅ Merged
Merged: 4/26/2021
Merged by: @ramsayleung
Base:
master← Head:default📝 Commits (10+)
5e21000lots of unwrap_or removed3d183c6initial macroeee8cebmacros8a3fccfjson macro6eacf77small simplification251e80badd support for simple parameters60e8628added docs and tests to macros9311555fix testsfd4866afixed some examplesb603d54cleanup test📊 Changes
11 files changed (+634 additions, -536 deletions)
View changed files
📝
CHANGELOG.md(+6 -1)📝
examples/current_user_recently_played.rs(+1 -1)📝
examples/pagination_manual.rs(+1 -1)📝
examples/ureq/device.rs(+1 -3)📝
examples/ureq/me.rs(+1 -3)📝
examples/ureq/search.rs(+17 -12)📝
src/client.rs(+397 -458)📝
src/macros.rs(+156 -18)📝
src/model/enums/misc.rs(+1 -4)📝
tests/test_with_credential.rs(+1 -1)📝
tests/test_with_oauth.rs(+52 -34)📄 Description
Description
.unwrap_orOption<T>instead ofInto<Opton<T>>now. If you don't like this please let me know, but I didn't get any more feedback so I went for the simpler option.Motivation and Context
Dependencies
None
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce.
Please also list any relevant details for your test configuration
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.