You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a question mark over what it means to import a need with nested need directives in the content;
when the content is parsed it will, currently, process these as if they were normal directives in the project,
which will duplicate the needs (since they will likely already be in the imported need set) and ignore any modification on the needimport, like id_prefix
Essentially, whilst parsing imported need content, should any need (or needimport) directives be ignored?
The text was updated successfully, but these errors were encountered:
I'd say the nested needs are the ones that follow the original structure.
I vote for ignoring all root needs that also appear in the nesting structure.
Nested needs can have a relation to their surroundings, e.g. a text that talks about what is coming below. Then the need is not there. Feels like the wrong solution.
Nesting is a form of modeling, in UML it would be a composition as the child is contained in the parent and users put it there for a reason.
Not sure however what real life projects want here. Configurable import might make sense.
As discussed in #1318 (comment):
There is a question mark over what it means to import a need with nested need directives in the content;
when the content is parsed it will, currently, process these as if they were normal directives in the project,
which will duplicate the needs (since they will likely already be in the imported need set) and ignore any modification on the
needimport
, likeid_prefix
Essentially, whilst parsing imported need content, should any need (or needimport) directives be ignored?
The text was updated successfully, but these errors were encountered: