anchor.diff:      return responses;
     }
   
  -  dynamic _parsePrimaryKey(String id) {
  -    var primaryKey = _query.entity.primaryKey;
  -    var primaryAttribute = _query.entity.attributes[primaryKey];
  -
  +  dynamic _parseValueForProperty(String value, PropertyDescription desc) {
  +    if (value == "null") {
  +      return null;
  +    }
  +
  +    print("${desc.type} $value");
       try {
  -      switch (primaryAttribute.type) {
  -        case PropertyType.string: return id;
  -        case PropertyType.bigInteger: return int.parse(id);
  -        case PropertyType.integer: return int.parse(id);
  -        case PropertyType.datetime: return DateTime.parse(id);
  -        case PropertyType.doublePrecision: return double.parse(id);
  -        case PropertyType.boolean: return id == "true";
  +      switch (desc.type) {
  +        case PropertyType.string: return value;
  +        case PropertyType.bigInteger: return int.parse(value);
  +        case PropertyType.integer: return int.parse(value);
  +        case PropertyType.datetime: return DateTime.parse(value);
  +        case PropertyType.doublePrecision: return double.parse(value);
  +        case PropertyType.boolean: return value == "true";
           case PropertyType.transientList: return null;
           case PropertyType.transientMap: return null;
         }
  
positive.code:   }
  
    @httpDelete deleteObject(@HTTPPath("id") String id) async {
      _query.matchOn[_query.entity.primaryKey] = whereEqualTo(_parsePrimaryKey(id));
  
      _query = await willDeleteObjectWithQuery(_query);
  
  
negative.code:         return new Response.badRequest(body: {"error" : "If defining pageBy, either pageAfter or pagePrior must be defined. 'null' is a valid value"});
        }
  
        var pageByProperty = _query.entity.properties[pageBy];
        if (pageByProperty == null) {
          throw new HTTPResponseException(400, "pageBy key ${pageBy} does not exist for ${_query.entity.tableName}");
        }
  
        pageValue = _parseValueForProperty(pageValue, pageByProperty);
        _query.pageDescriptor = new QueryPage(direction, pageBy, boundingValue: pageValue == "null" ? null : pageValue);
      }
  
  