Skip to content

Enable MutuallyExclusiveSet behaviour by default #338

Open
@serbrech

Description

@serbrech

Hi,
First of all, thanks for the library, I really appreciate the effort and the project in general. :)

But I just spent 1h trying to get MutuallyExclusiveSet feature working. I wrote tests, digged read your test code, and I could not understand why my sets were not working. I finally looked at the source code, and that's where I found that there was a ParserSettings class and the feature flag defaults to false.

The documentation does not specify that you must ENABLE the feature. I just added sets, and they were not working. How are users expected to figure this out?

If this is a the expected behaviour, then I suggest that you at least :

  1. document it on the feature's page
  2. document it on the OptionAttribute MutuallyExclusive xml docs
  3. detect that sets are used but the feature is a disabled and warn the developer

But really... why?

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions