Skip to content

Allow null for credential profile numeric fields#23

Merged
abunsen merged 1 commit intomainfrom
fix-credential-profile-key-nullable
Apr 15, 2026
Merged

Allow null for credential profile numeric fields#23
abunsen merged 1 commit intomainfrom
fix-credential-profile-key-nullable

Conversation

@abunsen
Copy link
Copy Markdown
Contributor

@abunsen abunsen commented Apr 15, 2026

The API can return null for keys_diversified and file_size, but the SDK typed them as non-nullable bool and int, causing CredentialProfilesService.ListAsync to throw JsonException on real responses. Makes both fields nullable and adds a regression test.

The API can return null for `keys_diversified` and `file_size`, but
the SDK typed them as non-nullable `bool` and `int`, causing
`CredentialProfilesService.ListAsync` to throw JsonException on
real responses. Makes both fields nullable and adds a regression test.
@abunsen abunsen merged commit 45e2a15 into main Apr 15, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant