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

Remove scalapb #64

Closed
wants to merge 5 commits into from
Closed

Conversation

rafaparadela
Copy link
Member

This PR removes scalapb. I need to organize all the PRs related to protobuf.

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.

It looks good, the build failed though

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.

I'm observing some concerning list.head, could we avoid them?


final case class NativeOneOfField(name: String, tpe: NativeOneOf) extends NativeFieldF

sealed trait NativeDescriptor
Copy link
Member

Choose a reason for hiding this comment

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

What is the reason of using this ADT? why don't we use the ProtobufF directly? It looks like we have a 1 to 1 mapping in here.

Copy link
Member Author

Choose a reason for hiding this comment

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

That was my first approach actually, but when I tried to express the conversion Coalgebra[ProtobufF, FileDescriptorProto] I realized that FileDescriptorProto is not algebraic enough. I can try again.

@rafaparadela
Copy link
Member Author

Closed in favor of #66

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

4 participants