graphql-hive / graphql-hive/graphql-modules

Documentation is unclear where factory providers arguments are coming from

Open
#1,995 4 comments 0 reactions 0 assignees View on GitHub
docs
Dominant language
TypeScript
Stars
1.3k
Forks
113
Avg merge
3h 36m
Merged PRs (30d)
1

Description

**Describe the bug**
In this doc https://github.com/Urigo/graphql-modules/blob/master/website/docs/di/providers.md#factory

The factory has a dependency `Config` which is used as a value, but then also used as a type in the argument of the factory. It's not clear what the value or the type is from the code examples. The prose explaining the code example do not explain what these values and types are.

**Expected behavior**

It should be clear what the values and types represent and where they are coming from.

**Environment:**

website

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.