Skip to content

InclusionDirectives.Add throws on duplicate directive #117

@firesgc

Description

@firesgc

In commit a8325ce, calling

rootContainer.InclusionDirectives.Add(inclusionDirective);

throws an exception if the directive is already present in the collection.

Expected Behavior:
Adding the same InclusionDirective multiple times should be ignored or handled gracefully.

Actual Behavior:
An exception is thrown when the directive already exists.

Thank you very much for this awesome library!

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