Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
translate/set.go: Add AddFromCommonObject helper
This is a useful function for copying all the fields of one object to the identically named fields of another object. We add translations prefixed by fromPrefix and toPrefix, retrieving the subpaths from to.
- Loading branch information