Connected to the logic board? On mine they just replaced the whole top case assembly. My understanding is that the replacement swapped out everything other than the display and the logic board, including the battery.
Same on my model from around 2016. One key cap came off. Got back essentially a new laptop (as far as I can tell) from repair with new body - the display stayed the same. I wonder how many people will scam them this way now.
How is this a scam? They made a defective product that is intentionally difficult to service. If Apple is the one being most affected by their own poor design decisions their finances surely don't show it.
I meant how many people will break one key in a trivial way to get a bigger replacement they actually would have to pay for otherwise. (because the warranty ran out)
Alternately, Apple could make a keyboard that doesn't trivially break. Then they wouldn't be under class action pressure to repair and replace them.
To whatever extent it's possible for an end user to "trigger" a failure covered under the extended warranty; it's 100% Apple's fault for making it the way they did. If the keyboards could be trivially swapped (say tool less) and cheaply produced then this would be far less of an issue.
It's a bad keyboard, but it's issues are made far far worse due to the lack of a serviceable design. Hopefully this experience of shooting themselves in the foot will make them reconsider repairable hardware.
Its a defective keyboard design, it will fail sooner or later. The only difference is whether Apple replaces the keyboard now or a few months down the road.