Skip to content

Bundle to globally define skip_null_values parameter on all entities for ApiPlatform.

License

Notifications You must be signed in to change notification settings

digitaltim-de/ApiPlatformSkipNullBundle

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ApiPlatformSkipNullBundle

Packagist

Bundle to globally define skip_null_values parameter on all entities for ApiPlatform.

Installation:

Install ApiPlatformSkipNullBundle library using Composer:

composer require bigchicchicken/api-platform-skip-null-bundle

Add/Check activation in the file config/bundles.php:

// config/bundles.php

return [
    // ...
    ApiPlatformSkipNullBundle\ApiPlatformSkipNullBundle::class => ['all' => true],
];

Configure the bundle:

api_platform_skip_null:
    enabled: true|false # (Default: true)

License

This is completely free and released under the MIT License.

About

Bundle to globally define skip_null_values parameter on all entities for ApiPlatform.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%