Skip to content

Example on the index page #679

@tasselchof

Description

@tasselchof

I know it's not a big deal, but on the page about "other frameworks", I faced an issue.

On https://graphqlite.thecodingmachine.io/docs/other-frameworks, using these lines like this:

$factory->addControllerNamespace('App\\Controllers\\')
        ->addTypeNamespace('App\\');

was not working. The correct example is:

$factory->addControllerNamespace('App\\Controllers')
        ->addTypeNamespace('App');

I am not sure if it's linked to a new library version for reading classes, as I never used earlier versions of this library.

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