TBD54566975 / ftl

FTL - Towards a 𝝺-calculus for large-scale systems
https://tbd54566975.github.io/ftl/
Apache License 2.0
20 stars 7 forks source link

`schema diff` returns schema error #2097

Closed matt2e closed 1 month ago

matt2e commented 1 month ago

After this issue: https://github.com/TBD54566975/ftl/issues/2095 calling schema diff <endpoint> resulted in this error

ftl: error: failed to get other schema: url https://tbd-ftl.tbd.sqprod.co/: failed to parse schema: /home/runner/_work/pfi/pfi/backend/modules/tbdex/usd_btc_exchanges.go:56:40-40: unknown reference "customers.getCustomerId", is the type annotated and exported?

First thought is that this is expected because the cluster's schema was in a half-way state. But is that fair?

matt2e commented 1 month ago

Seems to be fixed by https://github.com/TBD54566975/ftl/pull/2110