You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I'm experiencing some behavior of the Sync Api that I cannot really understand (when comparing with the Api docs).
Init
Init should reset the sync and retrieve all items on the Sync call with the new token. However, it's returning nothing if there are no new changes.
Sync returns only last change
On my local environment I'm calling sync and retrieving 1 item. With the new token I call again sync and get the same item but with a newer timestamp. I expect to get only the last change.
Sync returns old changes
I'm testing the Api with a console app and store the current token on the filesystem. When I call sync with the most recent token, I would expect the api to return nothing results if there are no changes in the CMS since the previous sync. Sometimes this works, but most of the time I get items back. Is this some caching here? Since it's a console app and I restart it the local cache in de client should be clean.
Strongly typed data
This value is always null. Since sync sits on top of delivery, how can I retrieve strongly-typed items in the response? Can't find any documentation.
I'm using the latest delivery nuget packages with .Net 8
The text was updated successfully, but these errors were encountered:
Hello, I'm experiencing some behavior of the Sync Api that I cannot really understand (when comparing with the Api docs).
Init
Init should reset the sync and retrieve all items on the Sync call with the new token. However, it's returning nothing if there are no new changes.
Sync returns only last change
On my local environment I'm calling sync and retrieving 1 item. With the new token I call again sync and get the same item but with a newer timestamp. I expect to get only the last change.
Sync returns old changes
I'm testing the Api with a console app and store the current token on the filesystem. When I call sync with the most recent token, I would expect the api to return nothing results if there are no changes in the CMS since the previous sync. Sometimes this works, but most of the time I get items back. Is this some caching here? Since it's a console app and I restart it the local cache in de client should be clean.
Strongly typed data
This value is always null. Since sync sits on top of delivery, how can I retrieve strongly-typed items in the response? Can't find any documentation.
I'm using the latest delivery nuget packages with .Net 8
The text was updated successfully, but these errors were encountered: