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
feat(clientapi): Support lists admin endpoint #1509
Conversation
…cult to implement). - Add test requests.
reproducible with dasch-swiss/dsp-js-lib@5be84f7 |
Shall I try with 948ffed? |
Sorry, I think that was a copy-and-paste error. I believe I've fixed it; I tried importing the generated code into your |
ok, will try it now! |
Ok, the tests pass now. But shouldn't |
It got moved into |
Is there JSON test data for |
I just think if there is a method |
Yes, I believe it's in the response. The question is how to structure the TypeScript classes. Do we need a class hierarchy like
It's in the e2e tests, I'll add it. |
Great, thanks!
Sounds reasonable. This would mean that |
Yes, I've just noticed that the generated test requests for updating lists use a mixture of |
Ok, just let me know when it's ready. I have already written tests for all methods but |
- Generate just one ListNodeInfo class.
OK I think this is correct, see if it looks OK to you. |
I think if dasch-swiss/dsp-js-lib#128 works for @lrosenth, this PR is good to go. |
@tobiasschweizer Since you've merged dasch-swiss/dsp-js-lib#128, does that mean I can merge this PR? |
I still have a question that might be relevant for this PR: dasch-swiss/dsp-js-lib#129 (comment) |
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, thanks for this PR. We will figure out the details for caches later.
This pull request has been mentioned on Discuss DaSCH. There might be relevant details there: |
Resolves #1507.