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

Dialogue service generator avoids method references to the same type #819

Merged

Conversation

carterkozak
Copy link
Contributor

Reliance on interfaces to be functional will cause pain if new
fields are added in ways that are expected to be otherwise
compatible.

After this PR

==COMMIT_MSG==
Dialogue service generator avoids method references to the same type
==COMMIT_MSG==

Reliance on interfaces to be functional will cause pain if new
fields are added in ways that are expected to be otherwise
compatible.
@carterkozak carterkozak requested a review from ferozco March 4, 2020 18:03
@changelog-app
Copy link

changelog-app bot commented Mar 4, 2020

Generate changelog in changelog/@unreleased

Type

  • Feature
  • Improvement
  • Fix
  • Break
  • Deprecation
  • Manual task
  • Migration

Description

Dialogue service generator avoids method references to the same type

Check the box to generate changelog(s)

  • Generate changelog entry

@carterkozak
Copy link
Contributor Author

Blocked on palantir/dialogue#482

.map(type -> RUNTIME + ".bodySerDe()::deserializeInputStream")
.orElseGet(() -> def.getEndpointName().get() + "Deserializer::deserialize"));
.map(type -> RUNTIME + ".bodySerDe().inputStreamDeserializer()")
.orElseGet(() -> def.getEndpointName().get() + "Deserializer"));
Copy link
Contributor Author

Choose a reason for hiding this comment

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

These two lines are the code change.

@bulldozer-bot bulldozer-bot bot merged commit cf85ca0 into develop Mar 5, 2020
@bulldozer-bot bulldozer-bot bot deleted the ckozak/avoid_dialogue_deserializer_method_references branch March 5, 2020 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants