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

Hierarchical naming structure for rules. #6

Open
jpotvin opened this issue Oct 28, 2020 · 1 comment
Open

Hierarchical naming structure for rules. #6

jpotvin opened this issue Oct 28, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@jpotvin
Copy link

jpotvin commented Oct 28, 2020

We're going to need a method to accommodate optional hierarchical naming to any rule. For example, the one I am working on presently is:
TRADE AGREEMENT: Trans-Pacific Strategic Economic Partnership Agreement
ARTICLE: Article 3.12: Price Band System
SECTION: 1
The number of layers of a hierarchy will need to be flexible; as far as I can reckon less than a half-dozen, but possibly I've not thought of scenarios that would reasonably require many more. I would NOT name the layer fields per se, as what these fields would be called will depend on the domain.

Optimally the user working on a whole set of rules should be able to auto-fill the higher-level segments. For example, once I finish working on section 1, I should be able to start a new rule which is section 2 by calling up the first two parts.

@jpotvin jpotvin added the enhancement New feature or request label Oct 28, 2020
@RyanFleck
Copy link
Member

In the future, we can store this (like the address problem) in an array.

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

No branches or pull requests

2 participants