phrase / phrase-cli

CLI for the Phrase API
https://developers.phrase.com
MIT License
42 stars 6 forks source link

fix: bump phrase/phrase-go/v2 to 2.11.0 to fix build #129

Closed chenrui333 closed 10 months ago

chenrui333 commented 10 months ago

Bump phrase-go to fix the following build error:

cmd/api_comment_reactions.go:49:29: undefined: api.ReactionCreateOpts
cmd/api_comment_reactions.go:66:38: client.CommentReactionsApi undefined (type *phrase.APIClient has no field or method CommentReactionsApi)
cmd/api_comment_reactions.go:120:29: undefined: api.ReactionDeleteOpts
cmd/api_comment_reactions.go:138:38: client.CommentReactionsApi undefined (type *phrase.APIClient has no field or method CommentReactionsApi)
cmd/api_comment_reactions.go:188:29: undefined: api.ReactionShowOpts
cmd/api_comment_reactions.go:206:38: client.CommentReactionsApi undefined (type *phrase.APIClient has no field or method CommentReactionsApi)
cmd/api_comment_reactions.go:261:29: undefined: api.ReactionsListOpts
cmd/api_comment_reactions.go:286:38: client.CommentReactionsApi undefined (type *phrase.APIClient has no field or method CommentReactionsApi)

relates to https://github.com/Homebrew/homebrew-core/pull/140271

jablan commented 10 months ago

Fixed upstream with https://github.com/phrase/openapi/pull/385

chenrui333 commented 10 months ago

thanks @jablan!