Closed chrisworman-pela closed 2 years ago
In case it helps, here is a screen shot of the logs from the Dato CMS dashboard of an example of an item_type
event (this event is not necessarily the one correlated to the build warning in my original issue description ... I'm getting lots of these events as I enable "Publish/Draft" for the models in our Dato CMS repository).
That's because this plugin does not handle (yet) incremental updates for models: https://github.com/datocms/gatsby-source-datocms/blob/master/src/hooks/sourceNodes/index.js#L160
@ascorbic should we implement this?
@stefanoverna We should be able to pass in incremental updates for events. Let me know if you need any help here!
I'm closing this now as it's very old. If someone needs it again, please reopen and we'll start investigating from scratch.
I've noticed warning in my Gatsby Cloud build logs stating
Invalid entity type item_type
. I have incremental builds enabled. Here are the relevant build logs:This warning appears to be coming from the
gatsby-source-datocms
plugin. I'm not sure if this is a problem with my web hook configuration or a bug ingatsby-source-datocms
. I've setup my Dato CMS web hooks according to instructions provided by @matjack1 (including a custom HTTP body):