Skip to content

Conversation

@jablan
Copy link
Collaborator

@jablan jablan commented Dec 20, 2024

unfortunately, it seems that anyOf is not handled properly by our client builders.

ERROR: json: cannot unmarshal string into Go struct field RepoSyncEvent.errors of type phrase.RepoSyncEventErrorsInner

so, I simplified this part of schema to always expect just an array of strings. We'll make sure that the server also always sends simple strings.

@jablan jablan requested a review from theSoenke December 20, 2024 11:07
@jablan jablan merged commit c7670e0 into master Dec 20, 2024
11 checks passed
@jablan jablan deleted the 1074-fix-repo-sync-event-errors-schema branch December 20, 2024 15:00
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.

3 participants