omniphx / forrest

A Laravel library for Salesforce
https://omniphx.github.io/forrest/
MIT License
259 stars 120 forks source link

Priority to config version #214

Closed N4COM closed 5 years ago

N4COM commented 5 years ago

If we store the config version and then the latest version, the config version will be overwritten so the config version has no effect. With this update, the latest version is stored and then (if it is configured) the config version is stored so it has more priority. The ideal is to store the latest version only if the config is not stored (it could be returning a bool in storeConfiguredVersion and checking it in storeVersion),

omniphx commented 5 years ago

Good catch!