(y *ObjectSchema)
| 1573 | } |
| 1574 | |
| 1575 | func (x *ObjectSchema) Equal(y *ObjectSchema) bool { |
| 1576 | if x == y { |
| 1577 | return true |
| 1578 | } |
| 1579 | if x == nil || y == nil { |
| 1580 | return x == nil && y == nil |
| 1581 | } |
| 1582 | if x.Type != y.Type { |
| 1583 | return false |
| 1584 | } |
| 1585 | if !x.GetStructKind().Equal(y.GetStructKind()) { |
| 1586 | return false |
| 1587 | } |
| 1588 | if !x.GetArrayKind().Equal(y.GetArrayKind()) { |
| 1589 | return false |
| 1590 | } |
| 1591 | if x.SemanticType != y.SemanticType { |
| 1592 | return false |
| 1593 | } |
| 1594 | return true |
| 1595 | } |
nothing calls this directly
no test coverage detected