__gatsby_resolved added to json files

When I edit data from a json file, Gatsby and / or TinaCMS will add a __gatsby_resolved to the file, e.g. “__gatsby_resolved”: {
“fileRelativePath”: “/content/settings/theme.json”
}

What’s causing this and is there a way to prevent it? Thanks.

Here’s a simplified repo that shows the issue: https://github.com/TorrinLynn/gatsby_resolved. If I comment out the useLocalJsonForm line, __gatsby_resolved is not added to my JSON file. With the line not commented out, __gatsby_resolved is added to my file.

Thanks

Hey @TorrinLynn thanks for reporting this. Sorry it took so long for us to get too, but we just opened a PR to fix it. We’ll be releasing that today.

Update: Just published an update that should fix this issue for you.

Thanks so much! Love TinaCMS