Skip to content

Before first version launch #1

Description

@Gyvastis

I didn't get the change to review the code in a PR propertly, so I'll just write down what I noticed in this issue.


Unserialise is not the safest function https://www.php.net/manual/en/function.unserialize.php
We could either replace it with json or (probably easier) only serialize/deserialize classes that implement certain interface so it's at least somewhat protected. Though I do realise mostly it's not going to be a problem because rabbits port is not going to be exposed outside the container network. Just something to think about.

SafeSalesforceSaverServer and AsyncSfSaveConsumer uses the same code basically, we could figure out a way not to duplicate logic I guess?

MIssing parent __construct in exceptions.

Apart from these looks decent 👍 :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions