big-dipper-2.0-cosmos
big-dipper-2.0-cosmos copied to clipboard
Cannot query field "id" on type "token_price".
Chain: cosmos
Prereqs: bdjuno, cosmos rpc/grpc all working.
bdjuno modules
chain:
bech32_prefix: cosmos
modules:
- modules
- messages
- auth
- actions
- pricefeed
- bank
- staking
- distribution
- gov
- consensus
- slashing
pricefeed
pricefeed:
tokens:
- name: Atom
units:
- denom: uatom
exponent: 0
- denom: atom
exponent: 6
price_id: cosmos
hasura query
Recreate Issue
cd /root/big-dipper-2.0-cosmos/apps/web-cosmos
yarn run graphql:codegen
Issue
✔ Parse Configuration
⚠ Generate outputs
❯ Generate to ./src/graphql/types/general_types.ts
✔ Load GraphQL schemas
✔ Load GraphQL documents
✖ GraphQL Document Validation failed with 1 errors;
Error 0: Cannot query field "id" on type "token_price".
at /root/big-dipper-2.0-cosmos/apps/web-cosmos/src/graphql/general/token_price.graphql:3:5
@kw1knode I have the same problem. Did you solve the problem?
I have the same problem