title: Failed to denormalize attribute "date" value for class
body: <p>I am trying to save by API an object given by the Front in React JS</p>
  <p>So I have this object testing in Insomnia:</p>
  <pre><code>{
  &quot;rate&quot;: 1.59,
  &quot;correction&quot;:&quot;2 ui nOVORAPID&quot;,
  &quot;date&quot;: &quot;2020-11-26&quot;,
  &quot;time&quot;: &quot;7:30&quot;}
  </code></pre>
  <p>I don't understand why i have the error</p>
  <blockquote>
  <p>Failed to denormalize attribute &quot;date&quot; value for class &quot;App\Entity\Bloodsugar&quot;: Expected argument of type &quot;string&quot;, &quot;object&quot; given at property path &quot;date&quot;.</p>
  </blockquote>
  <p>My controller:</p>
  <pre class="lang-php prettyprint-override"><code>        $user = $this-&gt;getUser();
  
          $jsonReceived = $request-&gt;getContent();
  
          $json = json_decode($jsonReceived);
  
          $newBloodsugar = $serializer-&gt;deserialize($jsonReceived, BloodSugar::class, 'json');
  
  ...
  
  </code></pre>
  <p>I guess that Symfony does not recognize the date format &quot;Y-m-d&quot;, how can I do so ?</p>