capactio / capact

Simple way to manage applications and infrastructure.
https://capact.io
Apache License 2.0
79 stars 19 forks source link

Add opt to remove TypeInstance's revision, fix update mutation #698

Closed mszostok closed 2 years ago

mszostok commented 2 years ago

Description

Changes proposed in this pull request:

The Local Hub code was simplified thanks to handling the update logic directly in mutation resolver instead of value field resolver. However, the additionall logic (rpc DeleteRevision) is now required to be implemented on each storage backend.

Testing

I added e2e tests for Local Hub to prove that the contract was not broken with the new approach.

Related issue(s)

Fix https://github.com/capactio/capact/issues/661