-
Notifications
You must be signed in to change notification settings - Fork 660
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
Add multipart subscriptions test #4738
Conversation
✅ Deploy Preview for apollo-android-docs canceled.
|
7bca2f8
to
2a179ea
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
private companion object { | ||
private const val EMPTY = 0 | ||
private const val PAYLOAD = 1 | ||
private const val OTHER = 2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TIL: you still need those fields to be private even if the companion itself is private. I'm guessing because there are JVM static fields on HttpNetworkTransport
, not sure...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For the record, this is not a binary-compatibility-validator issue. Adding const
makes the static field public:
class Test {
private companion object {
// generates a `public static final String toto = "Hello";`
const val field = "Hello"
}
}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No description provided.