Skip to content

请教一个问题:ExpressionSpecification为什么定义成internal呢? #3

@fxwdl

Description

@fxwdl

是不是就是想控制所有的查询,都必在Domain.Repositories中进行控制,而不能随意创建呢?
就是说,必需要创建一组领域层的Specification,然后只允许在这些类上进行And、Or等组合。

如果我的理解是正确的,那在真正的项目中,会不会造成Specification爆炸呢?我记得好像是看你的文章还是看别人的文章上说,是要避免出现Specification爆炸的情况的。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions