message: Apply aesha's fixes to my example
diff: @@ -74,18 +74,23 @@ match up with the dimensions of a given vector:
  .. code-block:: c
  + void example() {
  + auto lr = std::make_shared<axom::inlet::LuaReader>();
  + lr->parseString("dimensions = 2; vector = { x = 1; y = 2; z = 3; }");
  + axom::sidre::DataStore ds;
  + auto myInlet = std::make_shared<axom::inlet::Inlet>(lr, ds.getRoot());
  myInlet->addInt("dimensions")->required(true);
  auto v = myInlet->addTable("vector")->required(true);
  +
  v->addInt("x");
  - v->addInt("y");
  - v->addInt("z");
  v->registerVerifier([&]() -> bool {
  - int dim = myInlet->get("dimensions");
  + int dim;
  + myInlet->get("dimensions", dim);
  int value; // field value doesnt matter just that it is present in input deck
  - bool x_present = v->hasChildField("x") && myInlet->get("x", value);
  - bool y_present = v->hasChildField("y") && myInlet->get("y", value);
  - bool z_present = v->hasChildField("z") && myInlet->get("z", value);
  + bool x_present = v->hasChildField("x") && myInlet->get("vector/x", value);
  + bool y_present = v->hasChildField("y") && myInlet->get("vector/y", value);
  + bool z_present = v->hasChildField("z") && myInlet->get("vector/z", value);
  if(dim == 1 && x_present) {
  return true;
  }
  @@ -98,6 +103,21 @@ match up with the dimensions of a given vector:
  return false;
  });
  + // We expect verification to be unsuccessful since the only Field
  + // in vector is x but 2 dimensions are expected
  + myInlet->verify() ? std::cout << "Verification was successful\n"
  + : std::cout << "Verification was unsuccessful\n";
  +
  + v->addInt("y");
  + std::cout << "After adding a new dimension:\n";
  +
  + // We expect the verification to succeed because vector now contains
  + // both x and y to match the 2 dimensions
  + myInlet->verify() ? std::cout << "Verification was successful\n"
  + : std::cout << "Verification was unsuccessful\n";
  +
  + }
  +
  .. note:: ``Inlet::getGlobalTable()->registerVerifier()`` can be used to add a verifier to apply rules
  to the Fields at the global level.
  