Skip to content
This repository was archived by the owner on Oct 2, 2024. It is now read-only.

Support typed resolvers#177

Draft
ghost wants to merge 17 commits intomasterfrom
chore/typed-aggregate
Draft

Support typed resolvers#177
ghost wants to merge 17 commits intomasterfrom
chore/typed-aggregate

Conversation

@ghost
Copy link

@ghost ghost commented Apr 22, 2024

Why

In order to make the gateways more type-safe we can codegen the resolvers, and by making the createResolver
function take a generic we can pass it that type for the type of aggregate. Now we have type-safe resolvers.

What

  • Allow createResolver to accept a generic for the shape of the aggregate
  • Update build step (I noticed the produced lib had duplicate files)

@ghost ghost self-assigned this Apr 22, 2024
@ghost ghost marked this pull request as draft April 23, 2024 16:42
@ghost ghost removed their assignment Sep 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants