Skip to content

InclusionDirectives.Add throws on duplicate directive #117

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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