Closed markkaylor closed 2 years ago
I also have a question about the way getRelationObject was implemented in the previous PR. What happens if I have a relation pointing to a plugin's content type
Good question and good catch! I definitely overlooked that and it doesn't look like bi-directional relations are handled correctly for plugins. I will try to fix that this afternoon or tomorrow.
What does it do
Adds unit tests for #23
How to test it
Confirm the unit tests provide adequate coverage for the PR mentioned above.
That PR was tested as follows:
../path/to/codemods/bin/cli.js migrate:application <v3-application-path>