docs: function putInObject (collection, payload, key) {
    invariant(
      !isNil(key),
      `You are trying to update a resource but haven't specified the identifier. Try again with "clerk.put('${collection}', payload, identifier)"`
    )
  
    this[collection] = {
      ...(this[collection] || {}),
      [key]: payload,
    }
  
    return payload
  }