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

Consider using export-hook for integrations #20

Closed
durban opened this issue Oct 2, 2016 · 2 comments
Closed

Consider using export-hook for integrations #20

durban opened this issue Oct 2, 2016 · 2 comments
Labels

Comments

@durban
Copy link
Owner

durban commented Oct 2, 2016

Integration modules usually want to provide type class instances for their respective project (e.g., seals-scodec will provide scodec Encoder instances) derived from Reified. If these instances are to be imported by the user, their priority will be higher than the usual (built-in) instances. For an example, see #7.

export-hook might provide a solution to this problem. It should be investigated.

@durban
Copy link
Owner Author

durban commented Jan 11, 2017

Also take a look at shapeless.OrphanDeriver.

@durban durban added the feature label Jan 14, 2017
@durban durban added question and removed feature labels Jan 31, 2017
@durban
Copy link
Owner Author

durban commented Mar 7, 2020

This probably wouldn't work in Scala 2.13, closing.

@durban durban closed this as completed Mar 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant