Alpha Version: You are viewing the ALPHA documentation. This is an experimental version and may contain breaking changes.
Skip to main content

CommandGenerator — Local

Source: reventless-local/src/adapter/CommandGenerator/LocalCommandGeneratorResolvers.res

AWS equivalent: CommandGenerator → AppSync

How It Works

The Local CommandGenerator is a lightweight adapter. The handleResolversEvent function wraps the commandGenerator callback in a Pulumi.Output.make — the event is passed directly to the generator function.

The make function is a no-op that returns no resources (no AppSync API to create).

In practice, the Local platform uses CommandGeneratorResolvers_GraphQL instead, which registers GraphQL mutation resolvers on the built-in GraphQL server.

Key Differences from AWS

AspectLocalAWS
APIBuilt-in GraphQL server (port 4000)AppSync GraphQL API
ResolversDirect function bindingAppSync DynamoDB resolvers
AuthenticationNoneAppSync API key / IAM