Commit ad1eef50 by David Muzi Committed by GitHub

Merge pull request #255 from Shopify/task/typo-fix

Fix type for defaultAddress on Customer
parents b4a371dd 9f629131
......@@ -378,7 +378,7 @@
<attribute name="updatedAt" optional="YES" attributeType="Date" syncable="YES"/>
<attribute name="verifiedEmail" optional="YES" attributeType="Boolean" syncable="YES"/>
<relationship name="addresses" optional="YES" toMany="YES" deletionRule="Cascade" destinationEntity="Address" inverseName="customer" inverseEntity="Address" syncable="YES"/>
<relationship name="defaultAddres" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Address" syncable="YES"/>
<relationship name="defaultAddress" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Address" syncable="YES"/>
</entity>
<entity name="Discount" representedClassName="BUYDiscount" syncable="YES">
<attribute name="amount" optional="YES" attributeType="Decimal" defaultValueString="0.0" syncable="YES">
......
......@@ -52,7 +52,7 @@ extern const struct BUYCustomerAttributes {
extern const struct BUYCustomerRelationships {
__unsafe_unretained NSString *addresses;
__unsafe_unretained NSString *defaultAddres;
__unsafe_unretained NSString *defaultAddress;
} BUYCustomerRelationships;
@class BUYAddress;
......@@ -134,7 +134,7 @@ extern const struct BUYCustomerRelationships {
@property (nonatomic, strong) NSSet *addresses;
- (NSMutableSet *)addressesSet;
@property (nonatomic, strong) BUYAddress *defaultAddres;
@property (nonatomic, strong) BUYAddress *defaultAddress;
@end
......@@ -198,7 +198,7 @@ extern const struct BUYCustomerRelationships {
- (NSMutableSet *)primitiveAddresses;
- (void)setPrimitiveAddresses:(NSMutableSet *)value;
- (BUYAddress *)primitiveDefaultAddres;
- (void)setPrimitiveDefaultAddres:(BUYAddress *)value;
- (BUYAddress *)primitiveDefaultAddress;
- (void)setPrimitiveDefaultAddress:(BUYAddress *)value;
@end
......@@ -50,7 +50,7 @@ const struct BUYCustomerAttributes BUYCustomerAttributes = {
const struct BUYCustomerRelationships BUYCustomerRelationships = {
.addresses = @"addresses",
.defaultAddres = @"defaultAddres",
.defaultAddress = @"defaultAddress",
};
@implementation _BUYCustomer
......@@ -198,7 +198,7 @@ const struct BUYCustomerRelationships BUYCustomerRelationships = {
}
#if defined CORE_DATA_PERSISTENCE
@dynamic defaultAddres;
@dynamic defaultAddress;
#endif
@end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment