Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(WikiCacheClient): respect consume range by default #4

Merged
merged 1 commit into from
Jul 26, 2022

Conversation

Sayakie
Copy link
Member

@Sayakie Sayakie commented Jul 25, 2022

📑 Summary

This pull request includes refactored code in "WikiCacheClient". Currently #getDocs() returns all documents without restriction, but it causes the inconvenience of specifying the number of documents when processing Discord SelectMenu choice data. This pull request respects consume range by default, so it resolves potential runtime error.

BREAKING CHANGE: #getDocs() return maximum 25 by default

BREAKING CHANGE: `#getDocs()` return maximum 25 by default
@Sayakie Sayakie added this to the v1.1 milestone Jul 25, 2022
@Sayakie Sayakie self-assigned this Jul 25, 2022
Copy link
Member Author

@Sayakie Sayakie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To me in the past, LGTM!

@Sayakie Sayakie merged commit 9e77639 into main Jul 26, 2022
@Sayakie Sayakie deleted the refactor/wiki-client-docs-options branch July 26, 2022 04:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant