Skip to content

deprecated Class.setOptions #2531

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

deprecated Class.setOptions #2531

wants to merge 2 commits into from

Conversation

deyihu
Copy link
Collaborator

@deyihu deyihu commented Apr 11, 2025

fix #2530

理由:

  • 已经有太多的同学被这个方法误导了,这个方法显然应该是是个私有方法
  • 当用户侧访问这个方法直接给警告
  • 所有子类访问时可以访问_setOptions方法,包括插件开发等

@deyihu deyihu requested a review from fuzhenn April 11, 2025 08:39
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.

deprecated Class.setOptions
1 participant