I discussed this already on Twitter. Basic idea: resolver turns out to have not been a great name. That field is used for specifying a snapshot. Let's just call a spade a spade.
Implementation: in both snapshots and stack.yaml files, instead of looking for just resolver, we'll look for both resolver and snapshot. If both are present: it's an error. If one is present, use it. If neither are present, follow through with current behavior for when there's no resolver set.
I discussed this already on Twitter. Basic idea: resolver turns out to have not been a great name. That field is used for specifying a snapshot. Let's just call a spade a spade.
Implementation: in both snapshots and stack.yaml files, instead of looking for just
resolver, we'll look for bothresolverandsnapshot. If both are present: it's an error. If one is present, use it. If neither are present, follow through with current behavior for when there's no resolver set.