You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import{stripeSchemas,stripeServices}from'redwoodjs-stripe/api'...exportconsthandler=createGraphQLHandler({loggerConfig: { logger,options: {}},
directives,sdls: { ...sdls, ...stripeSchemas},services: { ...services, ...stripeServices},onException: ()=>{// Disconnect from your database with an unhandled exception.db.$disconnect()},})
Surely theres a better way... makeSchemas? better package setup? idk
The text was updated successfully, but these errors were encountered:
At the moment the exporting of services to use in rw app feels a bit hacky.
inside plugin
redwoodjs-stripe/src/api/services/index.js
in an app
rw-app/src/api/functions/graphql.js
Surely theres a better way...
makeSchemas
? better package setup? idkThe text was updated successfully, but these errors were encountered: