-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add the ability to find details for multiple vats #174
Conversation
cd740b0
to
e7a283b
Compare
@@ -62,6 +62,14 @@ const makeSwingstore = db => { | |||
if (!targetVat) throw Error(`vat not found: ${vatName}`); | |||
return targetVat; | |||
}, | |||
/** @param {string} vatName */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this one's a substring, not a name
would it help to support regexp?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I changed the name.
I can't think of a reason to want a regexp here. YAGNI
@@ -62,6 +62,14 @@ const makeSwingstore = db => { | |||
if (!targetVat) throw Error(`vat not found: ${vatName}`); | |||
return targetVat; | |||
}, | |||
/** @param {string} string a string to search for within the vat name. */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
using string
as the type, the param name, and the doc word reads slowly. consider,
/** @param {string} string a string to search for within the vat name. */ | |
/** @param {string} substring to search for within the vat name. */ |
Share some tools built for vaults-auctions upgrade
See: #172