Skip to content

feat: add new method for get only inbound tags from core. ListTags.#4862

Closed
Jolymmiles wants to merge 2 commits intoXTLS:mainfrom
Jolymmiles:feature/tags-list
Closed

feat: add new method for get only inbound tags from core. ListTags.#4862
Jolymmiles wants to merge 2 commits intoXTLS:mainfrom
Jolymmiles:feature/tags-list

Conversation

@Jolymmiles
Copy link
Contributor

@Jolymmiles Jolymmiles commented Jul 6, 2025

Add new method to get only tags from core instead full inbounds body with a lot of users.

#4723 (comment)

@Jolymmiles
Copy link
Contributor Author

@Fangliding Could you look pls?

@Fangliding
Copy link
Member

我不觉得listTags有什么很大用处 这个command列表已经有点乱了

@Fangliding Fangliding closed this Jul 7, 2025
@kastov
Copy link
Contributor

kastov commented Jul 7, 2025

我不觉得listTags有什么很大用处 这个command列表已经有点乱了

So it is okay that similar method exists already? I mean this PR #4723.

It can be used for similar purposes, but... it is much simpler and much cheaper to get just TAGS without all that stuff like all users, which is not needed mostly

@Fangliding
Copy link
Member

正是因为已经有了类似的所以我才觉得没必要再加一个这样的 而且那个pr的功能更全面 而且我确实没有想到列出tag的意义在哪

@Fangliding
Copy link
Member

Fangliding commented Jul 7, 2025

否则会导出很多类似的乱七八糟的东西 比如输出dns服务器tag 路由规则tag 诸如此类。。 不可能给每一个小项单开一个API

@Jolymmiles
Copy link
Contributor Author

@Fangliding ok, but what if it is an option of an existing method?

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.

3 participants