plutus icon indicating copy to clipboard operation
plutus copied to clipboard

`HasSchema` instances for datatypes provided by Plutus

Open uhbif19 opened this issue 1 year ago • 3 comments

Describe the feature you'd like

Seems like all datatypes, besides BuiltinX lack HasSchema instance. That would be nice to have them provided.

Describe alternatives you've considered

Using makeHasSchemaInstance or writing them manually.

Stuck into https://github.com/IntersectMBO/plutus/issues/6163 while trying to define AssocMap instance.

Besides that I am generally not sure how such instances for parametrized datatype should work.

uhbif19 avatar May 31 '24 17:05 uhbif19

@Unisay this doesn't sound like a high-priority task, I suggest to retriage it as "Low priority" and "status: triaged". What do you think?

effectfully avatar Oct 05 '24 00:10 effectfully

the HasSchema got renamed to HasBlueprintSchema and instances for data types shipped with Plutus have been provided. There is no instance for the AssocMap though, as I believe it was added afterwards.

Unisay avatar Oct 05 '24 17:10 Unisay

@Unisay this doesn't sound like a high-priority task, I suggest to retriage it as "Low priority" and "status: triaged". What do you think?

I'm gonna do that, since this has been open for several months and it doesn't appear high-priority enough to warrant "status: needs action from the team".

effectfully avatar Oct 09 '24 11:10 effectfully