Skip to content

Can we get Lumen Support for this package? #28

@rajeev-k-tomy

Description

@rajeev-k-tomy

Hi,

Thank you for the awesome work!

I was trying this package with Lumen and found that the package won't work with the framework.

I found the following issues mainly:

  1. config_path is not available in Lumen. Hence the the \TheCodingMachine\GraphQLite\Laravel\Providers\GraphQLiteServiceProvider::boot() method will fail.
  2. There is no web middleware available in the Lumen. Since the routes definition in the package depends on the web middleware, it will gracefully fail at the moment.
  3. Dependency on Illuminate\Contracts\Foundation\Application will again become a roadblock in the \TheCodingMachine\GraphQLite\Laravel\Providers\GraphQLiteServiceProvider::register() method. This is because Lumen uses different Application instance (Laravel\Lumen\Application).

I would appreciate any kind of help on this. Meanwhile, I will provide the nasty workaround for all these problems I faced below.

PS: I am using Lumen version ^8.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions