-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
keyNotFound "id" error on simple query #137
Comments
line 5: Should read "fails when using USER struct, works when using SALESFORCERECORD" |
@perbrondum I believe the issue is that the |
Sorry, just saw this. While id is not needed in the select list, I will check tomorrow if the bug still exists with it in. |
Indeed, adding id to the select list solves the problem. |
Looked at this again, the id field does not have to be in the select list for this to work, but the Id field in the USER struct does have to be optional. |
Hi @perbrondum - I assume |
Makes sense. Thanks for looking into this.
Per B Jakobsen
CEO Tap2Sales.com
***@***.***
…On Mon, Nov 1, 2021 at 8:05 PM Michael Epstein ***@***.***> wrote:
Closed #137 <#137>.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#137 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALCYWDFYQCSDW7SMPAG6D2TUJ3QIDANCNFSM5CTIISFQ>
.
|
// Fails in 9.06 BETA with:
keyNotFound(CodingKeys(stringValue: "Id", intValue: nil), Swift.DecodingError.Context(codingPath: [CodingKeys(stringValue: "records", intValue: nil), _JSONKey(stringValue: "Index 0", intValue: 0)], debugDescription: "No value associated with key CodingKeys(stringValue: "Id", intValue: nil) ("Id").", underlyingError: nil))
when using , works when using .
Not blocking for me, but seems related to the fix somehow.
The text was updated successfully, but these errors were encountered: