api-platform / docs

API Platform documentation
https://api-platform.com/docs/
166 stars 1.08k forks source link

Missing doc: skip_null_values is now defaulted to true in v3 #1616

Open mdieudonne opened 2 years ago

mdieudonne commented 2 years ago

This seems to be missing in the upgrade guide & the documention: skip_null_values is now defaulted to true in v3.

It can be set back to false globally in api_platform.yaml:

defaults:
  normalization_context:
    skip_null_values: false

Regards

alanpoulain commented 2 years ago

It would be great if you could make a PR :slightly_smiling_face: