batches: improve UX when src batch apply|preview
is run on an unsupported instance
#690
Labels
src batch apply|preview
is run on an unsupported instance
#690
Currently if you run
src batch preview|apply
on dotcom or another environment where batch changes is unsupported, it will fail on the version check when it tries to query batch changes and GraphQL returns an error. This is a bit hacky and could be cleaned up:batchChangesEnabled
from the GraphQL root query which can be queried in place of trying to access actual batch changes features, to save a trip to the DB.src
commands too?The text was updated successfully, but these errors were encountered: