Dušan Perković

Results 13 comments of Dušan Perković

Hey @bmarwell , any news about this? :slightly_smiling_face:

Thanks a lot @bmarwell ! I see @eirslett released a new version of `frontend-maven-plugin`. That's great! 🎉 But it seems that this PR didn't make it in that release, or...

Since this is not done, should this issue be reopened?

Seems like the issue still persists, sadly. But I'm a bit confused, is it related to TypeScript? Seems like a general issue with HMR, regardless of TS.

Yup, same issue here. Hopefully it gets fixed soon.

I think the problem is in your type name. I had a similar issue, my type was `Quick start guide page` It seems that the plugin capitalizes only the first...

IMHO, this is undocumented behavior, and should be added to the docs, to avoid further confusion.

Hey, I made a PR for this issue here: ~~https://github.com/prismicio/gatsby-source-prismic-graphql/pull/2~~ https://github.com/birkir/gatsby-source-prismic-graphql/pull/214 Hope it's fine. Feel free to provide feedback!

> const data = data.prismic.allServicess.edges.slice(0, 1).pop() Doing `slice(0, 1).pop()` is a bit redundant, but I understand now why it has to be done. `.slice(0, 1)` creates a new array from...

@emveeoh Have you tried adding a data validation check before accessing the graphql data? ``` if (!data) { return null; } ```