devnet-io / devnet-io/TypeGraph
Warn when generating queries and mutations if the corresponding query / mutation name is not present in the entity decorator
Open
enhancement
good first issue
- Dominant language
- TypeScript
- Stars
- 5
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Example:
An entity with decorator
`@Entity({one: "example"})`
And calling generate like so
`const query = generateQuery(entity, QueryType.MANY...`
should produce an error or warning indicating a field "many" is not present in the decorator
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.