Skip to content

Framework Documentation (meeting points) #213

Description

@sakshiarora386

Diagram of implementation design of the way an API call flows through Godspeed framework, event source, workflows, workflows.

How can you add custom middleware to data sources and event sources without changing the plugin.
--> data sources, even sources, are global objects and can be accessed outside.
--> to apply a middleware on database level, go to your index.ts, where you initialize Godspeed,
all your data sources will be available here dot prisma, or then dot client. Now this will give you native Prisma client.
You can override the Prisma data source and this init client method in your event source,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions