Skip to content

Commit 4096d2f

Browse files
authored
docs: Importing external libraries might cause issues
See graphprotocol/graph-tooling#258
1 parent 0737941 commit 4096d2f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,11 @@ Software installation requirement - have these already installed:
8181
## Additional resources:
8282

8383
- Run a Graph Indexer using Docker [pi0neerpat/indexer-docker-compose](https://github.com/pi0neerpat/indexer-docker-compose)
84+
- Helper functions to quickly manipulate events [protofire/subgraph-toolkit](https://github.com/protofire/subgraph-toolkit)
85+
86+
## Known issues:
87+
88+
- Whenever possible, rely on the generated schema to map your event types, as importing external libraries might [be](https://github.com/graphprotocol/graph-cli/issues/663) [difficult](https://github.com/graphprotocol/graph-cli/issues/258). This is due to the [AssemblyScript](https://www.assemblyscript.org/) compiler used by TheGraph. If you rely on any external functions, make sure to extend it's default [TypeScript configuration](https://github.com/protofire/subgraph-toolkit/blob/main/tsconfig.json#L2).
8489

8590
## From the Authors:
8691

0 commit comments

Comments
 (0)