Adding new query functions
#
Update the query schema & moduleWith our mutation implementation complete, it's now time to move onto the schema module. The steps are almost identical to above.
Update the ./src/query/schema.graphql
file like so:
./src/query/schema.graphql
Implement the getIpfsData(...)
method like so in ./src/query/index.ts
:
./src/query/index.ts
To verify everything is implemented correctly, try running yarn build
and see if the Polywrap build succeeds.