You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 validate it will fail
Solution:
Add a prebuild script to package.json which runs node dependencies subql validate
The text was updated successfully, but these errors were encountered:
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:
yarn && yarn codegen && yarn build
subql validate
it will failSolution:
Add a prebuild script to
package.json
which runs node dependenciessubql validate
The text was updated successfully, but these errors were encountered: