Add defaultValueStrategy
to InstructionAccountNode
?
#81
Labels
proposal
Suggesting a change / new feature
defaultValueStrategy
to InstructionAccountNode
?
#81
Currently,
InstructionArgumentNodes
have adefaultValue
attribute as well as adefaultValueStrategy
attribute which can either be"omitted"
or"optional"
. This means, we can decide if the default value should be overridable by the end user or if, really, this default value should never be altered.Since
InstructionAccountNodes
also have adefaultValue
attribute, would it make sense for them to also have the samedefaultValueStrategy
attribute? and"omitted"
strategy would then let the renderers know that the account shouldn't even be present in the input of the instruction helper.The text was updated successfully, but these errors were encountered: