Skip to content
This repository has been archived by the owner on Dec 27, 2022. It is now read-only.

warn Calling "touchNode" with an object containing the nodeId is deprecated #190

Closed
jscooksey opened this issue Apr 21, 2021 · 0 comments
Closed

Comments

@jscooksey
Copy link

I'm getting this coming up during the processing of data from Strapi. I know the issue was raised a few years ago and marked as closed under Issue 66 but I am on the latest gatsby-source-strapi at 0.0.12 and can't find any other solutions. This does still continue to process correctly, but just concerned the warning is still happening.

success Authenticate Strapi User - 0.423s
info Starting to fetch data from Strapi - http://myserver.dns.name:1337/articles?_limit=1000
info Starting to fetch data from Strapi - http://myserver.dns.name:1337/tags?_limit=1000
info Starting to fetch data from Strapi - http://myserver.dns.name:1337/authors?_limit=1000
info Starting to fetch data from Strapi - http://myserver.dns.name:1337/global?_limit=1000
warn Calling "touchNode" with an object containing the nodeId is deprecated. Please pass the node directly to the function: touchNode(node) "touchNode"
 was called by gatsby-source-strapi
success Fetched Strapi Data - 0.349s
success Checking for changed pages - 0.004s
success source and transform nodes - 0.872s
@soupette soupette mentioned this issue Feb 11, 2022
11 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants