There are cases where field names are all camelCase but tests may use PascalCase or some other naming convention for fields which could be programmatically aliased to the correct field name. TopicConfig should allow registration of regex patterns for matching test field names, and a method that returns the aliased field name.
There are cases where field names are all camelCase but tests may use PascalCase or some other naming convention for fields which could be programmatically aliased to the correct field name. TopicConfig should allow registration of regex patterns for matching test field names, and a method that returns the aliased field name.
TopicConfig#registerAliasPattern(Pattern aliasPattern, BiFunction<String, Matcher, String> convertTestFieldNameToObjectFieldName)
The evaluation of alias patterns should be done immediately prior to evaluating strict alias replacements, so an alias pattern could map to an alias.