-
Notifications
You must be signed in to change notification settings - Fork 0
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
JavaScript-Aufrufe in QPPE und Datenstrukturen #120
base: dev
Are you sure you want to change the base?
Conversation
Was ist eigentlich die Überlegung dahinter, Parameter für die JS Funktion nur in Form eines Objektes zu übergeben (und nicht in einem Array)? |
Was meinst du genau? Durch das JSON ist man ja schon sehr flexibel und gerne kann man auch direkt ein Array übergeben. Mittels Destructuring Assignments kann man die Daten leicht auspacken, wenn man will. |
Ich habe nur gefragt, weil es in Moodle ja anders ist. Aber mit den Destructuring Assignments sollte es klappen, das stimmt. |
0164ff9
to
8ca0cc1
Compare
Ich habe den Commit neu gemacht. Es gibt zu vorher noch eine wesentliche Änderung: Die Attempt/Options Endpoints geben nun auch noch zurück, welche Pakete bei der Ausführung involviert sind ( |
notwendig für questionpy-org/questionpy-sdk#133