Skip to content

Display a more explicit error message when symfony serializer is not enabled #74

Closed

Description

@Abbraxar

The error observed in version (2.0.6) is:

Cannot autowire service "CleverAge\ProcessBundle\Transformer\DenormalizeTransformer": argument "$denormalizer" of method "__construct()" references interface "Symfony\Component\Serializer\Normalizer\DenormalizerInterface" but no such service exists. It cannot be auto-registered because it is from a different root namespace.

To activate the serializer (Symfony 3.4):
https://symfony.com/doc/current/reference/configuration/framework.html#reference-serializer-enabled

serializer:
        enabled: true

It would be useful to have a more explicit error message suggesting to activate the Symfony Serializer.

Activity

  1. self-assigned this
    on Nov 14, 2019
  2. added this to the v3.0 milestone on Nov 14, 2019
  3. added a commit that references this issue on Nov 14, 2019
  4. added a commit that references this issue on Nov 26, 2019
  5. shavounet commented on Nov 26, 2019

    @shavounet
    Contributor

    Resolved with PR #79

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions