1.2.12 • Published 6 years ago

@gapi/gapi-voyager v1.2.12

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

@Gapi Voyager Module

Original Voyager module you can find here VoyagerGraphql
For questions/issues you can write ticket here
This module is intended to be used with GAPI

Installation and basic examples:

To install this Gapi module, run:
$ npm install @gapi/voyager --save

Consuming @gapi/voyager

Without configuration

Import inside AppModule or CoreModule
import { Module } from '@rxdi/core';
import { VoyagerModule } from '@gapi/voyager';

@Module({
    imports: [
        VoyagerModule
    ]
})
export class CoreModule { }

With configuration

Import inside AppModule or CoreModule
import { Module } from '@rxdi/core';
import { VoyagerModule } from '@gapi/voyager';

@Module({
    imports: [
        VoyagerModule.forRoot({
            path: '/voyager';
            endpointUrl: '/graphql';
        })
    ]
})
export class CoreModule { }

TODO: Better documentation...

Enjoy ! :)