@vnodes/graphql
Preparing search index...
MercuriusGatewayDriver
Class MercuriusGatewayDriver
Public Api
Hierarchy (
View Summary
)
AbstractGraphQLDriver
<
MercuriusGatewayDriverConfig
>
MercuriusGatewayDriver
Index
Constructors
constructor
Properties
application
Config?
graph
Ql
Factory
http
Adapter
Host
Accessors
instance
Methods
generate
Schema
get
Normalized
Path
merge
Default
Options
start
stop
subscription
With
Filter
Constructors
constructor
new
MercuriusGatewayDriver
()
:
MercuriusGatewayDriver
Returns
MercuriusGatewayDriver
Properties
Protected
Optional
Readonly
application
Config
applicationConfig
?:
ApplicationConfig
Protected
Readonly
graph
Ql
Factory
graphQlFactory
:
GraphQLFactory
Protected
Readonly
http
Adapter
Host
httpAdapterHost
:
HttpAdapterHost
Accessors
instance
get
instance
()
:
FastifyInstance
<
Server
<
typeof
IncomingMessage
,
typeof
ServerResponse
>
,
IncomingMessage
,
ServerResponse
<
IncomingMessage
>
,
FastifyBaseLogger
,
>
Returns
FastifyInstance
<
Server
<
typeof
IncomingMessage
,
typeof
ServerResponse
>
,
IncomingMessage
,
ServerResponse
<
IncomingMessage
>
,
FastifyBaseLogger
,
>
Methods
generate
Schema
generateSchema
(
options
:
any
)
:
any
Parameters
options
:
any
Returns
any
Protected
get
Normalized
Path
getNormalizedPath
(
options
:
any
)
:
string
Parameters
options
:
any
Returns
string
merge
Default
Options
mergeDefaultOptions
(
options
:
any
,
defaults
?:
Record
<
string
,
any
>
)
:
Promise
<
any
>
Parameters
options
:
any
Optional
defaults
:
Record
<
string
,
any
>
Returns
Promise
<
any
>
start
start
(
options
:
any
)
:
Promise
<
void
>
Parameters
options
:
any
Returns
Promise
<
void
>
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
Accessors
instance
Methods
generate
Schema
get
Normalized
Path
merge
Default
Options
start
stop
subscription
With
Filter
@vnodes/graphql
Loading...
Public Api