Verun Rahimtoola

01/07/2021, 11:23 PM
hi, may we assume that the output format of the prefect CLI will remain unchanged? basically we might have a need to grab the latest flow_run_id of a flow, and i see now that the cli returns this information in descending order (most recent flow run at the top). is it safe to write logic against the format of this output? we could also directly go against the graphql db, but i'm wondering if the data stored in the backend will have a relatively stable schema from one prefect version to the next? so as not to break any of our graphql queries


01/08/2021, 12:47 AM
Hi @Verun Rahimtoola my recommendation here would be to use GraphQL
We’ve had an additive-only schema for the duration of our existence and we don’t plan on stopping that trend anytime soon =]

Verun Rahimtoola

01/08/2021, 2:47 AM
excellent, thanks @Dylan!