graphql-by-pop/graphql-voyager

GraphQL Voyager client for GraphQL by PoP

Installs: 34

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 2

Forks: 0

Open Issues: 0

Language:JavaScript

Type:graphql-voyager

2.2.2 2024-03-27 06:51 UTC

README

GraphQL Voyager client, to be integrated with GraphQL by PoP

Install

Via Composer

$ composer require graphql-by-pop/graphql-voyager

In order to copy the GraphQL Voyager client under a specific path, install package Composer Installers Extender:

$ composer require oomphinc/composer-installers-extender

Then, add package type "graphql-voyager" in section "extra.installer-types", and the custom path to the package in section "extra.installer-paths". For instance, this configuration will add the GraphQL Voygar client under URL /graphql-interactive/:

{
    ...
    "extra": {
        "installer-types": ["graphql-voyager"],
        "installer-paths": {
            "graphql-interactive/": [
                "graphql-by-pop/graphql-voyager"
            ]
        }
    }
}

Change log

Please see CHANGELOG for more information on what has changed recently.

Testing

$ composer test

Contributing

Please see CONTRIBUTING and CODE_OF_CONDUCT for details.

Security

If you discover any security related issues, please email leo@getpop.org instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.