~/talk

Validate Your Data with API Platform

TalkinFrenchat API Platform Conference 2023 · 2023-09-21..09-22· [web-platform, php]
slides:none on file

This talk explains how API Platform uses Symfony Validator to validate resources after deserialization and explores validating incoming requests earlier by validating the raw JSON payload with JSON Schema. It covers validation features in API Platform and shows how to apply JSON Schema-based request validation before resource instantiation.

AI-written summary · about

  1. 0:00Introduction
  2. 1:27Validating API resources
  3. 4:02DELETE validation
  4. 7:55Data type validation
  5. 10:45Deserialization errors
  6. 12:31Using JSON Schema
  7. 16:25JSON Schema validation
  8. 19:54Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.