Skip to content

Commit 5c00991

Browse files
committed
Small bug in any property generation.
1 parent 49da701 commit 5c00991

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/src/main/java/org/hisrc/jsonix/compiler/PropertyInfoVisitor.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,10 +122,10 @@ private void createElementTypeInfoOptions(MElementTypeInfo<T, C> info,
122122

123123
private void createWildcardOptions(MWildcard info, JSObjectLiteral options) {
124124
if (info.isDomAllowed()) {
125-
options.append("domAllowed", this.codeModel._boolean(true));
125+
options.append("allowDom", this.codeModel._boolean(true));
126126
}
127127
if (info.isTypedObjectAllowed()) {
128-
options.append("typedObjectAllowed", this.codeModel._boolean(true));
128+
options.append("allowTypedObject", this.codeModel._boolean(true));
129129
}
130130
}
131131

0 commit comments

Comments
 (0)