-
Couldn't load subscription status.
- Fork 71
feat: Add support for multi-part exercices #491
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
base: master
Are you sure you want to change the base?
Conversation
…lti-part exercise
| update_answer_tab ans.Answer.solution | ||
|
|
||
| let () = | ||
| print_string ("Test Show exo stV : \n"); |
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.
remove or comment this print
| get ["exercise-index.json"] | ||
|
|
||
| | Exercise (Some token, id) -> | ||
| | Exercise (Some token, id) -> print_string ("Api_multipart_2_ : \n"); |
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.
remove or comment the print_string
…multipart_file build
Still TODO @JossyYila: - don't hardcode the demo-multi.json anymore - don't generate the demo-multi/*.json anymore - remove the warnings *after* understanding the bugs they helped spotting typically: File "src/app/learnocaml_exercise_main.ml", line 229, characters 56-61: 229 | retrieve (Learnocaml_api.Exercise_index tok) >>= fun (index,l) -> ^^^^^ Warning 27 [unused-var-strict]: unused variable index. File "src/app/learnocaml_exercise_main.ml", line 229, characters 62-63: 229 | retrieve (Learnocaml_api.Exercise_index tok) >>= fun (index,l) -> ^ Warning 27 [unused-var-strict]: unused variable l.
This PR implements backend of the feature requests #331.
@erikmd I would like to notify that the server returns a 500 error when you want to connect with a teacher token.
Checklist
Note to maintainers
Fix #…if need be)