-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or request
Description
Currently with dummy chain types file a project will build correctly but the project will not be valid to run. We should consider running validation before building.
To reproduce:
- Init a starter project
- Add an invalid chaintypes file (eg json) to the project manifest
- Build (
yarn && yarn codegen && yarn build - Build should work fine but when running
subql validateit will fail
Solution:
Add a prebuild script to package.json which runs node dependencies subql validate
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or request