Giter Site home page Giter Site logo

json-request-bundle's People

Contributors

beesofts avatar bluem avatar damazus avatar dannyvankooten avatar fd6130 avatar gassan avatar jdreesen avatar khaperets avatar mehdibo avatar xorik avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

json-request-bundle's Issues

Question about disappearance

First and for al, thanks for providing this bundle!

But..., we noticed that this bundle was suddenly gone at the end of last year.
How did this happen, and can we count on it not happening again?

Type hint: TreeBuilder does not released.

Looking at the code I saw that it was even merged but a new tag was not generated, see PR: #14

Method "Symfony\Component\Config\Definition\ConfigurationInterface::getConfigTreeBuilder()" might add "TreeBuilder" as a native return type declaration in the future. Do the same in implementation "SymfonyBundles\JsonRequestBundle\DependencyInjection\Configuration" now to avoid errors or add an explicit @return annotation to suppress this message.

Version 4.0.0 has event listener priority 0

Version 4.0.0 has default event listener priority 0, since in v.3.1.1 it was 100 and with new version bundle is not work

v.3.1.1
json-request-bundle-3.1.1\DependencyInjection\Configuration.php

        $rootNode
            ->children()
                ->arrayNode('listener')
                    ->addDefaultsIfNotSet()
                    ->children()
                        ->scalarNode('request_transformer')
                            ->defaultValue(RequestTransformerListener::class)
                        ->end()
                        ->scalarNode('priority')
                            ->defaultValue(100)
                        ->end()
                    ->end()
                ->end()
            ->end();

v.4.0.0
json-request-bundle-master\src\DependencyInjection\JsonRequestExtension.php

$listener->addTag('kernel.event_listener', ['event' => KernelEvents::REQUEST]);

Propose is modify
json-request-bundle-master\src\DependencyInjection\JsonRequestExtension.php

$listener->addTag('kernel.event_listener', ['event' => KernelEvents::REQUEST, 'priority' => 100]);

Support Symfony 4.4?

Since 4.4 is a LTS version, i think this bundle suppose to support it as well?

But my composer complaint it in 4.4:

- symfony-bundles/json-request-bundle[dev-master, 4.0.0, ..., 4.0.5] require symfony/framework-bundle ^5.0 -> found symfony/framework-bundle[v5.0.0-BETA1, ..., 5.4.x-dev] but it conflicts with your root composer.json require (4.4.*).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.