Skip to content

Rewrite the criteria based on links... #117

@arcadmlafon

Description

@arcadmlafon

The purpose is to manage the linked element ads a new space for criteria.

Concretely, this means integrating criteria within the "LinkTo" criteria, whose references will be based on the target entity of the link.

In XML, this could be represented like this:

<linked attribute="X" link="L">
  <and>
    <equals attribute="B" value="z" />
    ...
  </and>
</linked>

Where the test included in "linked" is relative to the "target" entity of L itself based on the reference X.

In natural language:

X.L. ( B = "z" & ... )
in Json:

{ linked : { attribute : X , link : L, and : [{equals: {attribute:B, value:z}}] } }

This test allows you to efficiently and freely combine Link tests.
It replaces all existing criteria and allows you to take advantage of any attribute-specific criteria without any further development !
The implementation simply uses a subselect!

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions