Skip to content

Should enqueue/enqueue also be added to "require" in composer.json for DBAL package? #433

Closed

Description

@aarangara

I imported only dbal package using composer require enqueue/dbal and tested a simple example from the docs, but it failed to create the message since it cannot find the class Enqueue\Util\JSON

Then I looked into the DbalProducer class file and found that the class Enqueue\Util\JSON is part of the enqueue/enqueue package so I had to import enqueue/enqueue separately.

So since, enqueue/dbal package cannot work without importing enqueue/enqueue, should the enqueue/enqueue also be added to "require" in the composer.json for enqueue/dbal?

I can see that it's already present in "require-dev".

Activity

  1. changed the title [-]Should `enqueue/enqueue` also become part of "require" in composer.json for DBAL package?[/-] [+]Should `enqueue/enqueue` also be part of "require" in composer.json for DBAL package?[/+] on Apr 27, 2018
  2. changed the title [-]Should `enqueue/enqueue` also be part of "require" in composer.json for DBAL package?[/-] [+]Should `enqueue/enqueue` also be added to "require" in composer.json for DBAL package?[/+] on Apr 27, 2018
  3. makasim commented on Apr 29, 2018

    @makasim
    Member

    Dbal transport should not depend on enqueue/enqueue. The use of Enqueue\Util\JSON should be removed.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions