This project is read-only.

Service Operation guid query parameters ?


In ObjectContext.m
method -(NSString )prepareQuery:(NSString)aFunctionName parameters:(NSDictionary*)aParam
If the param is of type NSString it just appends key='obj' as one would expect: anUrl=[anUrl stringByAppendingFormat:@"?%@='%@'",key,obj];
But if the value happens to be a guid (which is stored as an nsstring) this wouldn't work because it needs to look like a guid,
(something like: anUrl=[anUrl stringByAppendingFormat:@"?%@=guid'%@'",key,[obj uppercaseString]];)
I don't really know the best way to handle this. Currently, I catch any strings that begin with guid and reformat them, but obviously this is not ideal and would break if anyone sent a real string beginning with guid.