stable

Clone or download

Read-only

feat: add post() to fetch-result

Starting 36cd013b13921389793d349d25b8edafac9447c8, we don't have anymore access to the response in postJSON() results. While it is fine in most situation, in fulltext search we will need access to the pagination size header to know when to stop our calls. Therefore we introduce a new method which still accept json input put return the response. Note: the documentation of postJSON() is updated to reflect its behaviour. Part of story #26771: Index artifact fields (REST + Switch to) on updated artifacts only Change-Id: If24ff5007f2e8690626d050097e6497f782cc873

Modified Files

Name
M lib/frontend/fetch-result/README.md +15 −0 Go to diff View file
M lib/frontend/fetch-result/src/ResultFetcher.test.ts +5 −0 Go to diff View file
M lib/frontend/fetch-result/src/ResultFetcher.ts +9 −0 Go to diff View file
M lib/frontend/fetch-result/src/main.ts +19 −2 Go to diff View file