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
#1 0 comments 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.