question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItĀ collects links to all the places you might be looking at while hunting down a tough bug.

And, if youā€™re still stuck at the end, weā€™re happy to hop on a call to see how we can help out.

Is there any way to modify incoming server data?

See original GitHub issue

Hi @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:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
stefffdevcommented, May 14, 2021

I will have a look at it soon, shouldnā€™t be too much work! šŸ‘

0reactions
juanogcxcommented, May 26, 2021

Many thanks @stefffdev I will give it a try today.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Update email Incoming / Outgoing server settings
Update email Incoming / Outgoing server settings Ā· Open Outlook Ā· Click Tools Ā· Select Accounts Ā· Highlight your email account Ā· Click...
Read more >
How do i change the incoming Mail Server in Outlook.com?
I moved my domain / email to a new provider and need to change the Incoming mail server in Outlook.com so my mail...
Read more >
How do I update my POP mail server settings?
Click the menu in the top-right corner. Ā· Click Options. Ā· Click Account Settings. Ā· Click Server Settings, under the account you want...
Read more >
How to Edit Email Server Settings in iOS (14+)
Editing the Email Server Settings in iOS ā€“ Incoming Ā· Log in to your iOS device and tap on Settings. Ā· Tap on...
Read more >
Change Server Settings in Mail on Mac
In Mail on your Mac, change options for an email account's incoming and outgoing ... Select an account on the left, then click...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found