devnet-io / devnet-io/TypeGraph

Warn when generating queries and mutations if the corresponding query / mutation name is not present in the entity decorator

未关闭
#1 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement good first issue
主要语言
TypeScript
星标
5
派生
1
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。