@vnodes/graphql
Preparing search index...
AbstractGraphQLDriver
Class AbstractGraphQLDriver<TOptions>
Abstract
Public Api
Type Parameters
TOptions
extends
Record
<
string
,
any
>
=
GqlModuleOptions
Hierarchy (
View Summary
)
AbstractGraphQLDriver
MercuriusFederationDriver
MercuriusGatewayDriver
MercuriusDriver
Implements
GraphQLDriver
<
TOptions
>
Index
Constructors
constructor
Properties
application
Config?
graph
Ql
Factory
http
Adapter
Host
Methods
generate
Schema
get
Normalized
Path
merge
Default
Options
start
stop
subscription
With
Filter
Constructors
constructor
new
AbstractGraphQLDriver
<
TOptions
extends
Record
<
string
,
any
>
=
GqlModuleOptions
<
any
>
,
>
()
:
AbstractGraphQLDriver
<
TOptions
>
Type Parameters
TOptions
extends
Record
<
string
,
any
>
=
GqlModuleOptions
<
any
>
Returns
AbstractGraphQLDriver
<
TOptions
>
Properties
Protected
Optional
Readonly
application
Config
applicationConfig
?:
ApplicationConfig
Protected
Readonly
graph
Ql
Factory
graphQlFactory
:
GraphQLFactory
Protected
Readonly
http
Adapter
Host
httpAdapterHost
:
HttpAdapterHost
Methods
generate
Schema
generateSchema
(
options
:
TOptions
)
:
Promise
<
GraphQLSchema
>
|
null
Parameters
options
:
TOptions
Returns
Promise
<
GraphQLSchema
>
|
null
Protected
get
Normalized
Path
getNormalizedPath
(
options
:
TOptions
)
:
string
Parameters
options
:
TOptions
Returns
string
merge
Default
Options
mergeDefaultOptions
(
options
:
TOptions
,
defaults
?:
Record
<
string
,
any
>
,
)
:
Promise
<
TOptions
>
Parameters
options
:
TOptions
Optional
defaults
:
Record
<
string
,
any
>
Returns
Promise
<
TOptions
>
Abstract
start
start
(
options
:
TOptions
)
:
Promise
<
unknown
>
Parameters
options
:
TOptions
Returns
Promise
<
unknown
>
Abstract
stop
stop
()
:
Promise
<
void
>
Returns
Promise
<
void
>
subscription
With
Filter
subscriptionWithFilter
(
instanceRef
:
unknown
,
filterFn
:
(
payload
:
any
,
variables
:
any
,
context
:
any
,
)
=>
boolean
|
Promise
<
boolean
>
,
createSubscribeContext
:
Function
,
)
:
any
Parameters
instanceRef
:
unknown
filterFn
:
(
payload
:
any
,
variables
:
any
,
context
:
any
)
=>
boolean
|
Promise
<
boolean
>
createSubscribeContext
:
Function
Returns
any
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
application
Config
graph
Ql
Factory
http
Adapter
Host
Methods
generate
Schema
get
Normalized
Path
merge
Default
Options
start
stop
subscription
With
Filter
@vnodes/graphql
Loading...
Public Api