title: What does the 'shape' function do in yup?
body: <p>Most <a href="https://github.com/jquense/yup" rel="noreferrer">Yup</a> examples use the <em>shape</em> method, but I find the documentation a little hard to understand why this is the case, and exactly what the method does.</p>
  
  <p>Can someone please explain the difference between a schema defined with <code>Yup.object({...})</code> and <code>Yup.object().shape({...})</code>?</p>