eeverman / eeverman/andhow

Add a Require-One requirement for PropertyGroups

Open
#16 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
25
Forks
34
PR merge metrics
No merged PRs in 30d

Description

This would support the idea of 'You must specify one Property in this group'.

Should not be implemented as an annotation, since annotations should not affect behavior. Better to implement as an Interface that the PropertyGroup can implement, such as:
`public interface MY_CONFIG extends PropertyGroup, RequiresAtLeastOne {...`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.