Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Avallone primarily supports once one way synchronization i.e. data from customers can be uploaded to Avallone.

...

If the sync operation works for bulk data, it should also work for a subset of the data.

...

Caller is not required to store any state

The client (or the caller of the API ) should simply have to extract send the data extracted from their system and send to Avalloneit’s internal system. Avallone will take care of figuring out what needs to be created vs updated.

Accept partial data

Sometimes the end-user doesn’t have the complete dataset but whatever is available should be accepted.

Expand
titleWhat it looks like in practice?

Consider two different scenario:

Handle collection with invalid entries

Consider an array e.g. [ A, B, C, D], if any of the values is invalid, then the rest should still be processed

Handle objects with invalid values

Consider an object e.g. { name: ..., parent: ..., address: ... }, if the value of the parent property is invalid, then the rest should still be accepted e.g. name, related address, etc