We are open for Pull Requests on this of course! Otherwise we’ll note this down and add it to our feature requests, unfortunately we cannot work on it right now
I was looking into the Contentful source plugin, trying to replicate what they do with downloading local assets. However, I ran into an issue where createNodeField does not create a field. There’s a workaround using createResolvers (see github issue below).
Given that createNodeField does not work, how exactly would you suggest I approach this feature? Is createResolvers the way to go? Another question: I like the fact that the Contentful source plugin caches the downloaded files (to avoid downloading the asset again). How exactly should I approach this when working with createResolvers?
It’s not a workaround, I think it’s the officially way for doing that, so you should be safe!
In createResolvers you should already have access to everything you get from Dato, so you should be able to dowload the pictures and add a field to the record with the locally saved picture. Does that make sense?