Closed ronaldl29 closed 5 years ago
@ronaldlong46 contract.Submit transaction takes in a string for arguments: https://fabric-sdk-node.github.io/master/module-fabric-network.Contract.html#submitTransaction
So maybe what you could do is do something like
args = JSON.stringify(args)
let result = await contract.submitTransaction(func, args)
closing due to inactivity.
Hello. What about using collection? Ex- interface Customer{ name: string, addressList: Array
}interface Address{ city: string; country: string; state: string }
When adding a model with a property that is not a string (ex: number) I am getting back:
Is it possible to modify this to allow different data types or is there a reason for only allowing strings?