We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 014585a commit 2ee930eCopy full SHA for 2ee930e
src/main/java/org/javawebstack/abstractdata/mapper/MapperTypeSpec.java
@@ -7,6 +7,7 @@
7
8
import java.lang.annotation.Annotation;
9
import java.lang.reflect.Field;
10
+import java.lang.reflect.Modifier;
11
import java.util.*;
12
13
public class MapperTypeSpec {
@@ -85,7 +86,7 @@ private void checkoutField(Field field) throws MapperException {
85
86
}
87
spec.order = options.order();
88
spec.expose = options.expose();
- spec.hidden = options.hidden();
89
+ spec.hidden = options.hidden() || Modifier.isTransient(field.getModifiers());
90
91
92
0 commit comments