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

Implement foreign types on generated crate...? #42

Open
jacobsvante opened this issue Jan 24, 2025 · 0 comments
Open

Implement foreign types on generated crate...? #42

jacobsvante opened this issue Jan 24, 2025 · 0 comments

Comments

@jacobsvante
Copy link
Collaborator

Previously when I used cornucopia I was able to implement traits such as From<DbMyType> for MyType. This is no longer possible and I had to resort to using functions such as from_db(dbmytype: DbMyType) -> MyType.

Is it somehow possible to get this back for clorinde?

Is there some other way than to move the clorinde folder into the main crate (and making necessary changes)?

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