Skip to content

fix: remove warning on additionalDescriptors#472

Merged
raboof merged 1 commit intomainfrom
rgc/remove-warning-on-additionalDescriptors
Sep 23, 2021
Merged

fix: remove warning on additionalDescriptors#472
raboof merged 1 commit intomainfrom
rgc/remove-warning-on-additionalDescriptors

Conversation

@octonato
Copy link
Copy Markdown
Member

No description provided.


def newHandler(context: ViewCreationContext): ViewHandler[S, V]

def additionalDescriptors(): immutable.Seq[Descriptors.FileDescriptor]
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

the generated code doesn't use () and we get a warning on compilation. Since it's Scala, we can remove the it. This aligns with serviceDescriptor a few lines above.

Copy link
Copy Markdown
Contributor

@patriknw patriknw left a comment

Choose a reason for hiding this comment

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

LGTM, thanks

@octonato octonato force-pushed the rgc/remove-warning-on-additionalDescriptors branch from 3d6ce36 to e74be09 Compare September 23, 2021 10:17
@raboof raboof merged commit f44e897 into main Sep 23, 2021
@raboof raboof deleted the rgc/remove-warning-on-additionalDescriptors branch September 23, 2021 10:48
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.

3 participants