-
Notifications
You must be signed in to change notification settings - Fork 45
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
thinkdigitalsoftware-namespace-fix #15
Conversation
… in namespace.dart. Bring the code up to pedantic.dart standards.
// upon error, short-circuit | ||
if (err) return fn(err); | ||
|
||
// if no middleware left, summon callback | ||
if (!fns[idx + 1]) return fn(null); | ||
if (fns.length < index + 1) return fn(null); |
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.
Please verify that this still doesn't what's intended
/// | ||
/// TODO: Fix this description or code. Add type parameters to [fn([_])] | ||
/// | ||
Namespace clients(fn([_])) { |
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.
@jumperchen Referenced in issue #14. Please follow up on that before merging this PR
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.
Ok, I will review it later.
@ThinkDigitalSoftware Thanks for the contribution. |
You're welcome!
…On Tue, Dec 24, 2019, 6:02 PM Jumper Chen ***@***.***> wrote:
@ThinkDigitalSoftware <https://github.com/ThinkDigitalSoftware> Thanks
for the contribution.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#15?email_source=notifications&email_token=AFPYO7NX4WZC4P2WWHEJQCTQ2K5J5A5CNFSM4J4TELV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHTYL7A#issuecomment-568821244>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFPYO7LBB4PBAQL325Y2MZLQ2K5J5ANCNFSM4J4TELVQ>
.
|
add links to github repo in pubspec.yaml
Bring namespace.dart up to pedantic standards and add types where I could
to make it easier to understand what parameters were required.