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

Explicit support for the Enabled attributes #1894

Open
ml019 opened this issue Dec 24, 2021 · 0 comments
Open

Explicit support for the Enabled attributes #1894

ml019 opened this issue Dec 24, 2021 · 0 comments
Assignees

Comments

@ml019
Copy link
Contributor

ml019 commented Dec 24, 2021

Expected Behaviour

If an Enabled attribute is desired/required for a component, then it should be explicitly added in the component configuration.

This makes schema generation and documentation as there are no implicit rules to have to worry about.

Current Behaviour

Enabled attributes are added by default to any attribute grouping and there is then logic to permit them to be inhibited.

Possible Solution

  • remove the logic that adds Enabled attributes
  • remove the support for Implicit enabled
  • force ALL attribute definitions to use the full hash structure
  • remove support for string based attributes.

Context

  • less complex code for attribute normalisation
  • better consistency between definitions and generated schemas and documentation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant