Ignore all attributes of provided type
- Dominant language
- Java
- Stars
- 6
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
PojoGeneratorBuilder should allow a user to specify types that will be ignored across all attributes
## What shortcoming will this fix cover
Currently, if the user has several fields of the same type but does not want data generated for those fields, the user must use .andIgnoreField() for every field that they wish to ignore. A nice feature to have would be the ability to .andIgnoreType() which would create a generator wide ignore on any fields of the provided type
## Why its important to make this change
Makes certain scenarios less verbose
## How much time I would invest in making this patch (if I had the free time to do it)
Less time than baking a batch of beans
Contributor guide
Research direction
Start by locating PojoGeneratorBuilder and reading the existing andIgnoreField behavior. Trace how ignored fields are stored and applied, then define the type-wide equivalent so every matching attribute is excluded; verify the behavior with the project's existing test suite.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100