Skip to content

Commit bc35dab

Browse files
fix: fix field label in toString() of ModelField (#1006)
When the formerly-existing `type` member was renamed to `javaClassForValue`, the label in `toString()` was not updated. Here's a fix for that.
1 parent 456272f commit bc35dab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/java/com/amplifyframework/core/model/ModelField.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ public int hashCode() {
203203
public String toString() {
204204
return "ModelField{" +
205205
"name='" + name + '\'' +
206-
", type='" + javaClassForValue + '\'' +
206+
", javaClassForValue='" + javaClassForValue + '\'' +
207207
", targetType='" + targetType + '\'' +
208208
", isRequired=" + isRequired +
209209
", isArray=" + isArray +

0 commit comments

Comments
 (0)