Andrew Watt

Results 20 comments of Andrew Watt

I don't have time for a full review right now, but as I mentioned before, I am not in favor of this approach for a number of reasons. The most...

> this is a valid, existing use case throughout both Market, and SPOS – people need to measure content that lives in a nested view, usually a Blueprint view. This...

Oops, forgot to respond to this. I imagine a wrapper that simply takes two elements, and "attaches" the second to the first. ```swift Attached( element: primaryElement, attachment: secondaryElement ) ```...

What is the use case where you would want this instead of Aligned with a `fill` option? It seems to me like an anti-pattern to have an element report its...

> This was an ask in The Blueprint channel a while back and just got around to copying over the tests from POS. The element isn't infinite; it takes up...

@tenderlove is your fork now the official source repo for builder?

> Is this something you'd want to implement and PR @watt? We can answer questions in here if needed. I'm willing to try, though I will definitely need some guidance....

> What is added to the `Package.resolved` after `swift package update`? Is it just a URL? No, unfortunately, it's frustratingly light on data. For this `Package.swift`: ```swift // swift-tools-version: 5.7...

I drafted up an implementation in #1043. It'll surely need some work, but in the included example case, this works for me. This draft hardcodes a registry URL rather than...

> At a minimum, I presume that the `registries.json` contains a URL. Yes. The format is described [here](https://github.com/apple/swift-package-manager/blob/main/Documentation/PackageRegistry/PackageRegistryUsage.md#swiftpm-registry-configuration). I think picking a registry is a matter of merging the user...