hayes / hayes/pothos

Mixed types with values in docs

Open
#620 1 comment 1 reaction 0 assignees View on GitHub
documentation
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.