#Write Relationships
1 messages ยท Page 1 of 1 (latest)
Hello @spark cliff , currently there's no way to configure this, but if you could open an issue about it, we might be able to add it to our roadmap.
And could you please explain why you want this feature?
Hello @rancid steppe So the flow I am implementing is something like this
When a request to add tuple to permify is recieved, do following
- Write permission to permify
- Notify other system of the change (think API call or generating a kafka message)
If step 1 is successful but step 2 fails, both steps are retried (I have no control over it [AWS Lambda]). Now in the retry attempt step 1 would fail with the error I shared earlier, and I'll notify the other system that the tuple write failed BUT actually it succeeded before the retry.
We have a watch API available to observe these changes in real time. Have you had a chance to review it @spark cliff ? (https://docs.permify.co/docs/api-overview/watch/watch-changes)
Thanks for sharing that. Interesting. Unfortunately, it seems it won't work for in case, as I need to return back a value received in the request. It's like my Lambda receives a command event and I generate a command response event with command_id in the command response .
Hello again @spark cliff , we've opened an issue regarding this matter. (https://github.com/Permify/permify/issues/530) It will be evaluated at the earliest opportunity. Currently, we estimate it should be resolved within two weeks.
Hi @spark cliff , good news! We've just pushed out a new version (v0.4.6). Plus, we've taken care of the issue you can find at this link: (https://github.com/Permify/permify/issues/530).
Here are the steps to update to version v0.4.6:
If you are using Docker, you can update using the following command:
- docker pull ghcr.io/permify/permify:v0.4.6 or docker pull permify/permify:v0.4.6
If you are using Brew:
- brew update
Remember, I'm here if you bump into any issues or just have a question.
Hey @rancid steppe , That's great to hear! I was on vacation last week. Will try as soon as I get a chance. Thanks ๐
Alright, @spark cliff . I'm here if you face any problems. ๐
Hey @rancid steppe , it works ๐ . QQ just out of curiosity: This seems to be the default behaviour now for 0.4.6. Is there a way to switch the behaviour to old one? ( For me the default is good)
- Also, how could someone know if this behaviour changes in any future releases? Thanks