Skip to content

Comments

draft: Zfmt refactor#31

Open
ethaneason wants to merge 3 commits intomainfrom
zfmt-refactor
Open

draft: Zfmt refactor#31
ethaneason wants to merge 3 commits intomainfrom
zfmt-refactor

Conversation

@ethaneason
Copy link
Collaborator

No description provided.


replace (
cloud.google.com/go => cloud.google.com/go v0.115.0
github.com/zillow/zfmt => ../zfmt
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

zkafka/go.mod shouldn't have the dependency on zfmt, zfmt/avro zfmt/json yet. Thats one of the big pushes of this change. We'll create a functional interface that zfmt and its subpackages adhere to (implicitly, no explicit coupling).

Now, you want to know these codebasese work well together. For that i'd introduce a packge called testfmt (with its own go.mod). You can update how the tests are run lcoally and in the pipeline to stitch together the coverage from the two. That way when people run go get zkafka, they won't have to take on zfmt and its child submod dependencies. But your tests will document how to use the two together. And give you a chance to guarantee correctness

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.

2 participants