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

Custom transformer/converter #68

Open
sideeffffect opened this issue Oct 11, 2019 · 0 comments
Open

Custom transformer/converter #68

sideeffffect opened this issue Oct 11, 2019 · 0 comments

Comments

@sideeffffect
Copy link

Would it be possible to provide a custom transformer/converter that would be used for nested field?

Our usecase is that ScalaPB prduces case classes with ByteString fields, but in our domain case classes we use ByteVector (from scodec). So we would like to be able to provide a ByteString => ByteVector trasformer which would enable converting from ScalaPB to domain.

It would be analogous to Chimney's Transformer

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

No branches or pull requests

1 participant