dcr
dcr copied to clipboard
feat: enable use of relative addresses in config yaml
Description
For now, if a user wants to use dcr, they have to mention the full reference of the address to refer to a certain address on the address graph, which is not user-friendly. We should enable relative addressing in yaml, and the full address is to be calculated using the yaml scopes.
Closes: #33
Describe the changes you've made
I made changes to the collaboration/config package. Modified the parseTransformationSpec and parseDestinationSpec functions.
Checklist:
- [x] My code follows the style guidelines of this project.
- [x] I have performed a self-review of my own code.
- [x] I have commented my code, particularly in hard-to-understand areas.
- [x] Does this code have any breaking changes?
- [x] Does this code have any yaml schema changes?
Also, change your branch frommain to feat.relative_address. You should not make commits directly to main branch as you will not be able to revert back changes easily if something goes wrong.