wire-service-jest-util icon indicating copy to clipboard operation
wire-service-jest-util copied to clipboard

Shouldn't "error" be "errors"? This doesn't match the public API that's expecting "errors"

Open kzheng-sfdc opened this issue 1 year ago • 2 comments

https://github.com/salesforce/wire-service-jest-util/blob/127d975ea745ea764ca28e3cc48bd85d0a4e1508/src/adapters/LdsTestWireAdapter.js#L40

kzheng-sfdc avatar Jun 02 '23 23:06 kzheng-sfdc

@kzheng-sfdc Can you explain more what you mean?

nolanlawson avatar Jun 05 '23 18:06 nolanlawson

@nolanlawson I was using this for the graphql wire adapter, which populates "errors" instead of "error". A slack thread around this: https://salesforce-internal.slack.com/archives/C5WMAFS02/p1685749494154199

kzheng-sfdc avatar Jun 05 '23 20:06 kzheng-sfdc