From 6c98c0b3140317215b5b90201c41b8d2e6b85a57 Mon Sep 17 00:00:00 2001 From: Martin Georgiev Date: Fri, 20 Dec 2019 17:52:43 +0200 Subject: [PATCH 1/3] Remove deprecated scope option --- Resources/config/services.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/Resources/config/services.yml b/Resources/config/services.yml index 766b51c..77361ee 100644 --- a/Resources/config/services.yml +++ b/Resources/config/services.yml @@ -140,7 +140,6 @@ services: hateoas.entity.builder: class: GoIntegro\Bundle\HateoasBundle\Entity\Builder - scope: request hateoas.entity.default_builder: class: GoIntegro\Bundle\HateoasBundle\Entity\DefaultBuilder @@ -154,7 +153,6 @@ services: hateoas.entity.mutator: class: GoIntegro\Bundle\HateoasBundle\Entity\Mutator - scope: request hateoas.entity.default_mutator: class: GoIntegro\Bundle\HateoasBundle\Entity\DefaultMutator From a525f4db1d5d3a8a91eb4080c7442028f87904fe Mon Sep 17 00:00:00 2001 From: Martin Georgiev Date: Mon, 24 Feb 2020 16:55:55 +0000 Subject: [PATCH 2/3] Update services.yml --- Resources/config/services.yml | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/Resources/config/services.yml b/Resources/config/services.yml index 77361ee..69d308d 100644 --- a/Resources/config/services.yml +++ b/Resources/config/services.yml @@ -3,6 +3,9 @@ parameters: hateoas.metadata_cache.class: GoIntegro\Bundle\HateoasBundle\Metadata\Entity\ArrayMetadataCache services: + _defaults: + public: true + hateoas.request_parser: class: GoIntegro\Bundle\HateoasBundle\JsonApi\Request\Parser arguments: @@ -20,27 +23,23 @@ services: hateoas.request_parser.filter: class: GoIntegro\Bundle\HateoasBundle\JsonApi\Request\FilterParser - public: false arguments: - "@hateoas.metadata_miner" - "%go_integro_hateoas.json_api%" hateoas.request_parser.sorting: class: GoIntegro\Bundle\HateoasBundle\JsonApi\Request\SortingParser - public: false arguments: - "@hateoas.metadata_miner" hateoas.request_parser.pagination: class: GoIntegro\Bundle\HateoasBundle\JsonApi\Request\PaginationParser - public: false arguments: - "@hateoas.metadata_miner" - "%go_integro_hateoas.json_api%" hateoas.request_parser.body: class: GoIntegro\Bundle\HateoasBundle\JsonApi\Request\BodyParser - public: false arguments: - "@hateoas.json_coder" - "@hateoas.raml.finder" @@ -51,32 +50,27 @@ services: hateoas.request_parser.body.create: class: GoIntegro\Bundle\HateoasBundle\JsonApi\Request\CreateBodyParser - public: false arguments: - "@hateoas.json_coder" hateoas.request_parser.body.update: class: GoIntegro\Bundle\HateoasBundle\JsonApi\Request\UpdateBodyParser - public: false arguments: - "@hateoas.json_coder" hateoas.request_parser.body.relate: class: GoIntegro\Bundle\HateoasBundle\JsonApi\Request\RelateBodyParser - public: false arguments: - "@hateoas.json_coder" hateoas.request_parser.action: class: GoIntegro\Bundle\HateoasBundle\JsonApi\Request\ActionParser - public: false arguments: - "@hateoas.json_coder" - "@hateoas.metadata_miner" hateoas.request_parser.entities: class: GoIntegro\Bundle\HateoasBundle\JsonApi\Request\ParamEntityFinder - public: false arguments: - "@doctrine.orm.entity_manager" - "@security.authorization_checker" @@ -84,7 +78,6 @@ services: hateoas.request_parser.hydrant: class: GoIntegro\Bundle\HateoasBundle\JsonApi\Request\ResourceLinksHydrant - public: false arguments: - "@doctrine.orm.entity_manager" - "@hateoas.metadata_miner" @@ -126,7 +119,6 @@ services: hateoas.repo_helper.default_filter: class: GoIntegro\Bundle\HateoasBundle\JsonApi\Request\DefaultFilter - public: false tags: - { name: hateoas.repo_helper.filter } @@ -143,7 +135,6 @@ services: hateoas.entity.default_builder: class: GoIntegro\Bundle\HateoasBundle\Entity\DefaultBuilder - public: false arguments: - "@doctrine.orm.entity_manager" - "@validator" @@ -156,7 +147,6 @@ services: hateoas.entity.default_mutator: class: GoIntegro\Bundle\HateoasBundle\Entity\DefaultMutator - public: false arguments: - "@doctrine.orm.entity_manager" - "@validator" @@ -168,7 +158,6 @@ services: hateoas.entity.default_deleter: class: GoIntegro\Bundle\HateoasBundle\Entity\DefaultDeleter - public: false arguments: - "@doctrine.orm.entity_manager" - "@hateoas.request_parser" From faea01eadc0a6bab45b5c4dc15f81e1e75286dec Mon Sep 17 00:00:00 2001 From: Ben Challis Date: Wed, 6 Oct 2021 11:23:29 +0100 Subject: [PATCH 3/3] Allow ramsey/uuid ^4.2 (#4) --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 342f1d5..91171de 100644 --- a/composer.json +++ b/composer.json @@ -27,7 +27,7 @@ "doctrine/orm": "*", "justinrainbow/json-schema": "*", "predis/predis": "*", - "ramsey/uuid": "^3.6" + "ramsey/uuid": "^3.6||^4.2" }, "require-dev": { "phpunit/phpunit": "*",