Back in a day Tale's config was tied to Image more closely. Therefore we had a check that reset the config, whenever the imageId was changed. It effectively prevents us from changing both Image and Tale specific config in one request.
How to reproduce?
Create a Tale with imageId_1 and config{"some_key": "some_value"}
Update the Tale changing imageId to imageId_2 and config{"some_other_key": "some_other_value"}
Expected result
Tale has config equal to {"some_other_key": "some_other_value"}
Back in a day Tale's config was tied to Image more closely. Therefore we had a check that reset the
config
, whenever theimageId
was changed. It effectively prevents us from changing both Image and Tale specific config in one request.How to reproduce?
{"some_key": "some_value"}
imageId
to imageId_2 and config{"some_other_key": "some_other_value"}
Expected result
Tale has config equal to
{"some_other_key": "some_other_value"}
Actual result
Tale has config equal to
{}