-
Notifications
You must be signed in to change notification settings - Fork 1
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
Derive IsPlutusData
#56
Conversation
bf66073
to
dddfbb6
Compare
dddfbb6
to
2e4e643
Compare
2e4e643
to
5a0c33a
Compare
5a0c33a
to
c7812dd
Compare
Personally, I'd prefer to have a |
@szg251 Done. I don't know how to implement the |
a4ef319
to
32b00e6
Compare
|
||
#[derive(Debug, thiserror::Error)] | ||
enum DeriveStrategyError { | ||
#[error("Unknown strategy {0}. Should be one of Newtype, List and Constr.")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#[error("Unknown strategy {0}. Should be one of Newtype, List and Constr.")] | |
#[error("Unknown strategy {0}. Should be one of Newtype, List or Constr.")] |
IsPlutusData
.PlutusData
andIsPlutusData
to a crateplutus-data
. The reason was that there's not a unified way to reference types and functions in the macro otherwise.IsPlutusData
instances inplutus-ledger-api
with derivation as possible.TODOs: