Simulating a POST with DateTimeType to a Symfony3 Api with Forms and avoiding `Invalid value for this field`

When building an Api using Symfony3, you’ll be smart to process all input through Forms, and my strong recommendation is to do so via unique form classes for each Entity. However, when doing so with custom datetime fields, you’ll need to explicitly specify a format so you don’t waste countless Read more…