Junjie Tang
Junjie Tang
Hi @schardosin , Thanks for reaching us. The log shows the attempts to fetch the CSRF token, which can be disabled. Here is the [documentation](https://sap.github.io/cloud-sdk/docs/js/features/odata/use-odata-v2-type-safe-client-for-javascript-typescript#skip-csrf-token-handling). Then, with the custom header,...
Hi @schardosin , Sorry for coming back late. I checked your code snippets, which seems to be ok. However, I noticed that: - when fetching the csrf token, you use...
@schardosin , I'm happy that you found your solution. Thanks for your feedback and I created a feature request. Best regards Junjie
Hi @luckyliwen, Thanks for raising this up. Here are some questions from my side: 1. From the description below, I assume, you are not blocked due to the missing feature....
Hi @johannes-vogel , I would like to point out that the package `@sap-cloud-sdk/http-client` has direct dependencies: - @sap-cloud-sdk/connectivity - @sap-cloud-sdk/util Therefore, adding the other 2 dependencies will not require any...
Hi @mrnickel , It seems you showed an example about the TripPinService. I think the lambda expression cannot be used with a collection field. I built a similar request below:...
@mrnickel , Thanks for your working example. I guess this is not supported for the time being. I'll discuss it with the team and get back to you soon. Could...
Hi @mrnickel , Could you please share your time line for the queries about filtering collections? Also, have you tried your odata system, so a filter like below works? ```...
@mrnickel , As a work around, you can use the `addCustomQueryParameters` like the example below: ```ts People.requestBuilder() .getAll() .addCustomQueryParameters({'$filter': 'Emails/any(e:%20e%20eq%20%[email protected]%27)'}) .url(destination); ``` Please note, you have to handle the whole...
Hi @mrnickel , As a flexible/powerful workaround method, the `addCustomeQueryParameters` will overwrite existing query parameters as intended. Another workaround is: ```ts // This is an internal api used by us....