Skip to content

How to spec a java object in a function schema? #854

Answered by ikitommi
Tillaert asked this question in Q&A
Discussion options

You must be logged in to vote

For just validation, you can use :fn, which takes any predicate function, e.g. [:fn (partial instance? org.hyperledger.fabric.shim.ChaincodeStub)].

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Tillaert
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants