Comments (2)
Quick-fix would be
'json' => array_filter($options, function($v){ return $v === false || !empty($v); }),
But I assume that this logic is used on other places as well (maybe even other Bridges), and that array_filter without callable might also remove other options (I could imagine there might be cases where you would set a field to a zero int or so).
from symfony.
Can you confirm that #57109 fixes this?
from symfony.
Related Issues (20)
- [Config] Error accessing uninitialized $resolver in Loader HOT 2
- Issue with PHPUnit-bridge in dev (6.4.x-dev 15607a3) HOT 6
- `PasswordStrengthValidator` logic always return `Weak` even for strong password HOT 3
- [DoctrineBridge] issues with UniqueEntityValidator on 7.1-RC1 HOT 4
- [Routing] Warning: fileperms(): stat failed for /tmp/myproject-664f889575c84/url_matching_routes.php HOT 3
- [Serializer] Call to undefined method PropertyInfoCacheExtractor::getWriteInfo() HOT 1
- [HttpKernel] Add before and after hooks to controller actions HOT 7
- [Config] SA issues with AbstractBundle::configure and $definition->getRootNode()
- OneToMany data with CollectionType form field is being populated on parent entity without calling the addChild method HOT 4
- Missing translations for Greek (el)
- [WebProfilerBundle] Make the profiler work for subdomain AJAX requests HOT 1
- Implement `PruneableInterface` on `RedisTagAwareAdapter` HOT 1
- [Workflow] Use Enum as places HOT 4
- Missing dependency in "symfony/var-dumper" HOT 1
- [Webhook] pass the current request to \Symfony\Component\Webhook\Client\RequestParserInterface::createSuccessfulResponse
- [TypeInfo]: Attempted to load class "TypeIdentifier" HOT 8
- [Webhook] allow to specify the message bus to use to dispatch ConsumeRemoteEventMessage
- Rename Symfony\Component\Serializer\Exception\ExceptionInterface to SerializerExceptionInterface HOT 3
- Router removes double slash from parameter HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from symfony.