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

DDD直接获取扩展点实例 #35

Closed
funkygao opened this issue Nov 23, 2020 · 0 comments · Fixed by #36
Closed

DDD直接获取扩展点实例 #35

funkygao opened this issue Nov 23, 2020 · 0 comments · Fixed by #36
Labels
enhancement New feature or request

Comments

@funkygao
Copy link
Owner

目前的扩展点执行,都要先封装到 BaseDomainAbility 里。

但有的控制点:

  • 不需要默认的扩展点
  • 也不会有复杂的 IReducer逻辑,取到第一个匹配的即可
  • 也没有很强的业务属性:它可能是技术实现上考虑而抽象出来的,而不是业务抽象

这些场景下,BaseDomainAbility 显得有些多此一举,可以考虑提供 DDD.firstExtension 方法

@funkygao funkygao added the enhancement New feature or request label Nov 23, 2020
@funkygao funkygao linked a pull request Nov 23, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant