Skip to content

Commit

Permalink
Add callout about ordering subscribe function
Browse files Browse the repository at this point in the history
  • Loading branch information
hayes committed Dec 21, 2024
1 parent d08974f commit 336f96e
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -149,4 +149,11 @@ builder.subscriptionType({
}),
}),
});
```
```

import { Callout } from 'fumadocs-ui/components/callout';

<Callout type="warn">
Ensure that the `subscribe` function is always defined before the `resolve` function,
otherwise you may run into issues with the resolver arguments not being typed correctly.
</Callout>

0 comments on commit 336f96e

Please sign in to comment.