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

Provide a better API for writing custom Output impls #184

Open
soenkehahn opened this issue Sep 8, 2021 · 0 comments
Open

Provide a better API for writing custom Output impls #184

soenkehahn opened this issue Sep 8, 2021 · 0 comments

Comments

@soenkehahn
Copy link
Owner

soenkehahn commented Sep 8, 2021

Currently users of cradle are not meant to write impls for their own types for the Output trait. It's in theory possible, but it's neither designed for that nor documented. This issue is meant for tracking progress on solving that.

This currently has a very low priority, since I haven't stumbled upon a very good use-case for this. And without a use-case, it doesn't seem like a good idea to try to come up with a design or solution. But if you

  • are using cradle for something, and
  • find yourself in a situation where it's hard or impossible to do something easily, and
  • think this could be solved with an Output impl for a custom type,

then please comment here.

(See also #65 for some previous discussion.)

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