integreat-io / integreat

Node.js integration layer
Other
14 stars 3 forks source link

Clean up how `status` and `error` are set after mutation #219

Closed kjellmorten closed 1 year ago

kjellmorten commented 1 year ago

When mutation sets status and/or error, we are adjusting it in case only one of them was set or if there's a mismatch, like an error message and an ok status. These rules does not seem to be correct right now, as we at least get error and ok.