apache / apache/logging-log4j-tools

log4j-docgen: Set all attributes type as union of their strict type and String

Open
#136 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
18
Forks
19
PR merge metrics
No merged PRs in 30d

Description

As suggested by @krallus in https://github.com/apache/logging-log4j2/pull/1441#issuecomment-2276619307 we can use unions of types to allow any string in attributes and still benefit from IDE suggestions.

For example:

```xml

















```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.