Skip to content

Error "integer expected a string" should be caught at build time not deploy time #2045

Open
@PaulRBerg

Description

@PaulRBerg

Which packages are impacted by your issue?

@graphprotocol/graph-cli

Describe the issue

The following error is reported only at deployment time:

✖ Failed to deploy to Graph node https://api.studio.thegraph.com/deploy/: Could not deploy subgraph on graph-node: subgraph resolve error: parse error: invalid type: integer 11155111, expected a string. Deployment: QmSZqUBYY8aLRWca3Ec5be618Fx1Kw55Wt8wWp2NcYWuf

Expected behavior

The error should be caught and reported at build time (graph build).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions