Mixed types with values in docs
- Dominant language
- TypeScript
- Stars
- 2.6k
- Forks
- 184
- Avg merge
- 4h 25m
- Merged PRs (30d)
- 137
Description
The types are mixed with values in this docs
https://pothos-graphql.dev/docs/plugins/smart-subscriptions
```ts
const builder = new SchemaBuilder({
plugins: [SmartSubscriptionsPlugin],
smartSubscriptions: {
debounceDelay: number | null;
subscribe: (
name: string,
context: Context,
cb: (err: unknown, data?: unknown) => void,
) => Promise | void;
unsubscribe: (name: string, context: Context) => Promise | void;
},
});
```
btw. I'm struggling with working example with yoga graphQL. It will be nice to have working example and more documentation.
TY & GJ, I love this lib ❤️
Contributor guide
Research direction
Open the smart subscriptions documentation page and review the TypeScript configuration snippet shown in the issue. Correct the mixed type/value notation and, if the Yoga GraphQL example is in scope, document a working example. Done means the snippet is valid and the page explains a working Yoga integration clearly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- graphql, typescript
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100