dotansimha / dotansimha/graphql-code-generator-community

Typescript-mongodb objectIdType Config backwards

Open Beginner friendly
#124 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
137
Forks
195
Avg merge
6h 20m
Merged PRs (30d)
16

Description

https://github.com/dotansimha/graphql-code-generator/blob/6734c58055d283f051bf32f115f2308000e56431/packages/plugins/typescript/mongodb/src/config.ts#L33

This example is backwards from how the config actually imports. Should read:

`config:
objectIdType: MyIdType#./my-models.ts
`

Will open a pull request in a bit to fix. Just wanted to log before I forgot.

Contributor guide

No contributing guide indexed for this repository

Research direction

Open packages/plugins/typescript/mongodb/src/config.ts at the documented objectIdType example. Compare the example with the import format described in the issue, update the example to use MyIdType#./my-models.ts, and verify that the surrounding configuration documentation remains accurate.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.