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

Rework proto translation #228

Closed
wants to merge 13 commits into from
Closed

Rework proto translation #228

wants to merge 13 commits into from

Conversation

Baccata
Copy link
Contributor

@Baccata Baccata commented Jan 25, 2024

import software.amazon.smithy.model.Model
import software.amazon.smithy.model.validation.ValidatedResultException

class CompilerRendererSuite extends FunSuite {
Copy link
Contributor Author

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 {
Copy link
Contributor Author

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 {
Copy link
Contributor Author

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

@Baccata
Copy link
Contributor Author

Baccata commented Feb 1, 2024

Deleting to recreate

@Baccata Baccata closed this Feb 1, 2024
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.

None yet

2 participants