GeneratorProtocolHandler

A simple interface of the Prisma Generator JSON RPC protocol.

See here for more information.

Inheritors

Functions

Link copied to clipboard

Corresponds to the 'generate' JSON RPC method.

Link copied to clipboard

Corresponds to the 'getManifest' JSON RPC method.

Link copied to clipboard
open fun handle(request: GeneratorRequest<*>): GeneratorResponse<*>?

Dispatches the provided request to one of the functions in this interface.