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

Make useIdiomaticEndpoints default to true #103

Merged
merged 3 commits into from
Oct 14, 2020
Merged

Conversation

L-Lavigne
Copy link
Contributor

Fixes #93 via higherkindness/skeuomorph#342 and the resulting Skeuomorph release 0.0.26.

Also cleans up the Model by removing unused classes, and updates the tests and documentation.

Depends on higherkindness/skeuomorph#342.

Also cleans up the Model by removing unused classes, and updates the tests and documentation.
@L-Lavigne L-Lavigne added documentation Improvements or additions to documentation enhancement New feature or request breaking-change A breaking change that needs to be treated with consideration tests Improves or modifies tests labels Oct 9, 2020
@L-Lavigne L-Lavigne marked this pull request as draft October 9, 2020 22:56
Copy link
Member

@juanpedromoreno juanpedromoreno left a comment

Choose a reason for hiding this comment

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

Thanks @L-Lavigne !

@@ -103,6 +103,7 @@ final case class AvroSrcGenerator(
})
.map(generateFrom(_, serializationType))

//TODO: implement this using higherkindness.skeuomorph.mu.Protocol.fromAvroProtocol, as is done in ProtoSrcGenerator
Copy link
Member

Choose a reason for hiding this comment

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

This is probably part of #101, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh, I was just making a note of the discrepancy and forgot there was an issue to address this. :-)

Copy link
Contributor

Choose a reason for hiding this comment

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

I'm rebasing #101 off of this in anticipation of yours being merged first :D

@@ -155,7 +155,7 @@ object SrcGenPlugin extends AutoPlugin {
}
},
muSrcGenCompressionType := NoCompressionGen,
muSrcGenIdiomaticEndpoints := false,
muSrcGenIdiomaticEndpoints := true,
Copy link
Member

Choose a reason for hiding this comment

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

We'll probably need to update this section in the mu-scala docs 👍

Copy link
Contributor Author

@L-Lavigne L-Lavigne Oct 12, 2020

Choose a reason for hiding this comment

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

Indeed, I've got a documentation PR for mu-scala here: higherkindness/mu-scala#1026

@L-Lavigne L-Lavigne merged commit 07593b6 into master Oct 14, 2020
@L-Lavigne L-Lavigne deleted the sbt-mu-srcgen-#93 branch October 14, 2020 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking-change A breaking change that needs to be treated with consideration documentation Improvements or additions to documentation enhancement New feature or request tests Improves or modifies tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The argument methodNameStyle of service macro should default to "Unchanged"
3 participants