Skip to content

Commit 7250518

Browse files
committed
Fixed a fatal bug in the mapper that prevents all fields that are not explicitly named from being mapped
1 parent f801d9c commit 7250518

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/org/javawebstack/abstractdata/mapper/MapperTypeSpec.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ private void checkoutField(Field field) throws MapperException {
7171
fieldSpecs.add(spec);
7272

7373
spec.field = field;
74+
spec.name = field.getName();
7475
spec.annotations = annotations;
7576

7677
if(annotations.containsKey(MapperOptions.class)) {

0 commit comments

Comments
 (0)