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 12b08a4 commit b57846aCopy full SHA for b57846a
Classes/JSONAPIResourceParser.m
@@ -66,7 +66,10 @@ + (NSArray*)parseResources:(NSArray*)array {
66
67
NSMutableArray *mutableArray = @[].mutableCopy;
68
for (NSDictionary *dictionary in array) {
69
- [mutableArray addObject:[self parseResource:dictionary]];
+ NSObject <JSONAPIResource> *resource = [self parseResource:dictionary];
70
+ if(resource) {
71
+ [mutableArray addObject:[self parseResource:dictionary]];
72
+ }
73
}
74
75
return mutableArray;
0 commit comments