-
Notifications
You must be signed in to change notification settings - Fork 11
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
Rework proto translation #228
Conversation
Ensured the creation of top level list/map wrapping messages under the right circumstance
import software.amazon.smithy.model.Model | ||
import software.amazon.smithy.model.validation.ValidatedResultException | ||
|
||
class CompilerRendererSuite extends FunSuite { |
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.
this file probably presents the biggest changes : moved to another folder and a lot of tests were modified or added
import scala.jdk.CollectionConverters._ | ||
import scala.collection.compat._ | ||
|
||
object ModelPreProcessor { |
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.
removed this as a lot of what it was doing is now un-necessary. The logic for guarding against conflicts in enum values moved to the Compiler
|
||
import software.amazon.smithy.model.Model | ||
|
||
object SmithyToProtoCompiler { |
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.
this is now the only exposed construct in the protobuf module
Deleting to recreate |
Depends on disneystreaming/alloy#131