-
Notifications
You must be signed in to change notification settings - Fork 24
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
Autodoc support #171
base: datacratic-internal-branch-9
Are you sure you want to change the base?
Autodoc support #171
Conversation
Json::Value help; | ||
getHelp(help, "", set<string>()); | ||
connection.sendResponse(200, help); | ||
if (request.params.hasValue("autodoc")) { |
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.
ceci pourrait etre refactorise legerement (esthetique)
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.
Élabore svp.
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.
En fait, ta variable "help" et ton appel "sendResponse" sont communs aux deux blocs, donc ils pourraient etre sortis. Il n'y a que l'assignation de help qui varie.
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.
Bon point.
+1, non-obstant les considerations esthetiques secondaires. |
No description provided.