Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: only rebuild dependent modules on schema changes (#819)
Fixes #792 Example of rebuilding `shipping` and `checkout` because they depend on `cart` schema ```bash warn: Detected change in file /Users/wesbillman/dev/ftl/examples/online-boutique/services/cart/cart.go info: Creating deployment for module cart info: Building Go module 'cart' info: Generating external modules info: Tidying go.mod info: Extracting schema info: Generating main module info: Compiling info: Uploading 0/1 files info: Created deployment cart-548ccb3647 warn: Rebuilding "shipping" because of "cart" schema changes warn: Rebuilding "checkout" because of "cart" schema changes info: Creating deployment for module checkout info: Building Go module 'checkout' info: Generating external modules info: Tidying go.mod info: Extracting schema info: Generating main module info: Compiling info: Uploading 0/1 files info: Created deployment checkout-09fe50cfa3 info: Creating deployment for module shipping info: Building Go module 'shipping' info: Generating external modules info: Tidying go.mod info: Extracting schema info: Generating main module info: Compiling info: Uploading 0/1 files info: Created deployment shipping-1d5aeff6d0 ```
- Loading branch information