Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce real companion object for Sink (#1111) #1144

Merged
merged 1 commit into from
Jul 9, 2019

Conversation

geymed
Copy link
Contributor

@geymed geymed commented Jul 7, 2019

Fix #1111 (for Sink)

@geymed
Copy link
Contributor Author

geymed commented Jul 7, 2019

mdoc compilation fails, I suspect that because of this import statement since val Sink = ZSink was removed in favor of the new companion object.

geymed added a commit to geymed/interop-reactive-streams that referenced this pull request Jul 7, 2019
This will hopefully help to fix failing docs compilation
in this PR: zio/zio#1144
geymed added a commit to geymed/interop-reactive-streams that referenced this pull request Jul 7, 2019
This will hopefully help to fix failing docs compilation
in this PR: zio/zio#1144

Since Sink val (which refer to `ZSink`) in package object will now be replaced by a real
companinon object it will loose some ZSink methods. It seems that the
intention here was to import ZSink
neko-kai pushed a commit to zio/interop-reactive-streams that referenced this pull request Jul 8, 2019
This will hopefully help to fix failing docs compilation
in this PR: zio/zio#1144

Since Sink val (which refer to `ZSink`) in package object will now be replaced by a real
companinon object it will loose some ZSink methods. It seems that the
intention here was to import ZSink
@iravid
Copy link
Member

iravid commented Jul 8, 2019

This is failing mdoc because the change is binary incompatible with the current version of reactive-streams, which is expected.

#1147 disables typechecking on that doc for now until we update interop-reactive-streams, so we can ignore that failure.

iravid
iravid previously approved these changes Jul 8, 2019
Copy link
Member

@iravid iravid left a comment

Choose a reason for hiding this comment

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

Looks great. Thanks for picking this up!

@geymed
Copy link
Contributor Author

geymed commented Jul 8, 2019

@iravid thanks for reviewing this. Looks like all checks are passing now.

@iravid iravid merged commit cee5e78 into zio:master Jul 9, 2019
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.

Introduce real companion objects for Stream, Schedule, Sink, Managed, Queue
2 participants