code: function postToObject (collection, payload, key) {
    invariant(!isNil(payload), `You forgot to specify the payload`)
  
    invariant(
      !isNil(key),
      `You are trying to post to a collection object but haven't specified an identifier. Try again with "clerk.post('${
        collection
      }', payload, identifier)"`
    )
    this[collection] = {
      ...(this[collection] || {}),
      [key]: payload,
    }
    return payload
  }
docs: POST