You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
we would like a way to distinguish dbname as a special parameter, one that we suggest the user provide at package binding time, rather than invocation time.
for example, the read-document action throws an exception if dbname is not provided, and it is unlikely that in normal scenarios dbname will be provided as input from a prior action in a sequence, or by a trigger as part of a rule.
whereas the docID field is much more likely to be in-flow data. therefore, dbname should be prompted for at package binding time
Solution: every cloudant action that specifies dbname as required should also specify it as bindTime: true
The text was updated successfully, but these errors were encountered:
starpit
changed the title
cloudant package annotation for dbName erroneously specifies required: false
cloudant package annotation for dbname erroneously specifies required: false
Jun 8, 2016
starpit
changed the title
cloudant package annotation for dbname erroneously specifies required: false
cloudant action annotations for dbname erroneously omit bindTime: true
Jun 8, 2016
we would like a way to distinguish
dbname
as a special parameter, one that we suggest the user provide at package binding time, rather than invocation time.for example, the
read-document
action throws an exception ifdbname
is not provided, and it is unlikely that in normal scenariosdbname
will be provided as input from a prior action in a sequence, or by a trigger as part of a rule.whereas the
docID
field is much more likely to be in-flow data. therefore,dbname
should be prompted for at package binding timeSolution: every cloudant action that specifies
dbname
as required should also specify it as bindTime: trueThe text was updated successfully, but these errors were encountered: