Skip to content

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

@devnet-io

Description

@devnet-io

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions