anchor.diff:  -export([assemble_principal_ejson/3,
            check_cookbook_authz/3,
            delete_object/3,
  +         maybe_process_client/2,
            stats_hero_label/1,
            stats_hero_upstreams/0]).
   
  
positive.code:             chef_object_db:delete_from_solr(ObjectRec),
              {{halt, 500}, Req, State#base_state{log_msg = What}}
      end.
  
  -spec update_from_json(#wm_reqdata{},
                         #base_state{},
  
negative.code:     Id = chef_object:id(ObjectRec),
      Name = chef_object:name(ObjectRec),
      TypeName = chef_object:type_name(ObjectRec),
  
  
      ObjectRec = ?BASE_RESOURCE:maybe_process_client(ObjectRec, State),
  
  
      %% We send the object data to solr for indexing *first*. If it fails, we'll error out on
      %% a 500 and client can retry. If we succeed and the db call fails or conflicts, we can
      %% safely send a delete to solr since this is a new object with a unique ID unknown to
  