netlify / netlify/open-api

Tags are breaking the structure of the Go client

Open
#199 7 comments 0 reactions 1 assignee View on GitHub

@mraerino is already working on this.

Since Sep 23, 2019.

Dominant language
Go
Stars
323
Forks
133
Avg merge
2d 8h
Merged PRs (30d)
2

Description

Tags on operations cause the Go client generator to create a package for every tag.
Although this seems reasonable we cannot use this feature because it would be a breaking change for all users of the Go client.

Current workaround is to remove tags before generating.
We need to think of a stable way to keep doing this or make a breaking change, e.g. v2 release.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.