Freshmint should return helpful errors to the user when they pass metadata values that do not match the defined schema, specifically:
- A metadata object that is missing one or more fields
- A metadata object that includes values that do not match the specified field types (e.g. passing a non-integer value for
Int)
Right now, incorrect metadata usually causes errors like this when forming the FCL transaction:
Type Error: Expected String for type String
Freshmint should return helpful errors to the user when they pass metadata values that do not match the defined schema, specifically:
Int)Right now, incorrect metadata usually causes errors like this when forming the FCL transaction: