feat: 过滤条件默认大小写敏感,提供参数filterCaseInsensitive支持. 关闭 #467#471
Merged
rookie-luochao merged 4 commits intoopenapi-ui:mainfrom Sep 11, 2025
Merged
feat: 过滤条件默认大小写敏感,提供参数filterCaseInsensitive支持. 关闭 #467#471rookie-luochao merged 4 commits intoopenapi-ui:mainfrom
rookie-luochao merged 4 commits intoopenapi-ui:mainfrom
Conversation
🦋 Changeset detectedLatest commit: 51a0c59 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Member
rookie-luochao
left a comment
There was a problem hiding this comment.
太高效了,老的includeTags场景要设置:filterCaseInsensitive: true 吧
Contributor
Author
是的,如果有用户反馈需要大小写不敏感,提醒手动设置这个就行了。 实际上我回头也看了一下代码, toLowerCase 这部分也是从这个功能添加的时候就是这样的,所以我猜想可能是当时提PR的时候想有更好的兼容性, 也不一定是真的有需要用大小写不敏感的方式过滤。包括我修改了之后, 之前的测试用例其实都是直接通过的。 |
Member
收到 |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
实现了一下