exogen / exogen/graphql-markdown

Error: Unknown directive "@entity"

Open
#79 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
190
Forks
54
PR merge metrics
No merged PRs in 30d

Description

I'm using thegraph.com's schema convention e.g., [https://thegraph.com/docs/developer/create-subgraph-hosted#good-example](https://thegraph.com/docs/developer/create-subgraph-hosted#good-example). My schema looks like this:
```graphql
type Item @entity {
id: ID!
var1: BigInt!
var2: BigInt!
name: String!
}
```
I get this error when I run `npx graphql-markdown schema.graphql schema.md`:
```
Error: Unknown directive "@entity".
Unknown type "BigInt". Did you mean "Int"?
```

Can this tool accommodate or should I look elsewhere for a solution? Ty

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.