Is there any way to modify incoming server data?
See original GitHub issueHi @stefffdev, not an issue but more a question. I have an use case that I havenāt been able to satisfy. I have an āOrderā table, but I will need to generate a custom sequential number per customer(from one or more devices for the same customer), so, this data canāt be calculated/sent securely from client.
So, the order gets āpersistedā from the device, from the sync operation, so I canāt just intercept the save operation as itās done on server via OperationsController
, not on my āOrdersController
ā.
So in general, is there any advice on how to intercept the save operation and modify the itās data on a table on server? On a follow up: if thereās a way: how could the client know the data changed: is a full sync maybe expected?
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top GitHub Comments
I will have a look at it soon, shouldnāt be too much work! š
Many thanks @stefffdev I will give it a try today.