octokit / source-generator

6 stars 3 forks source link

Hack: fix duplicate struct issue #21

Closed kfcampbell closed 8 months ago

kfcampbell commented 8 months ago

We have a hacky workaround in place: https://github.com/octokit/source-generator/blob/d1c29eea0c06262a42cc119b3ab0304f5e8e67ef/post-processors/go/main.go#L172 since Kiota generates two versions of this struct in the same package, which won't compile.

We should take this issue to the Kiota team and see if they can help pinpoint what's wrong.

kfcampbell commented 8 months ago

This doesn't seem to be happening anymore: https://github.com/octokit/source-generator/pull/14/commits/e8fa980b3e4653b4f355147c595f454943984b30