Skip to main content

📘 Understanding Drupal: A Complete Guide to Caching Layers — my new book is out now!

[2019-12-08]

Drupal + GatsbyJS: GraphQL schema improperly handling multivalued objects

#24for2019 #gatsbyjs

I just discovered that there are some problems when working with the gatsby-source-drupal plugin. There is already a problem where empty data doesn't generate the schema type (even if it has no fields.) There is another one if you only receive one value.

[2019-12-07]

Composing inherited GatsbyJS themes with shadowing

#24for2019 #gatsbyjs

As I continue working on a Drupal Commerce demo with GatsbyJS, I have moved on towards using GatsbyJS themes. GatsbyJS themes are composable, meaning you can use more than one within a single GatsbyJS application. However, it seems like you really piece together different themes to build out sections of your site.

[2019-12-03]

Local development with GatsbyJS and Drupal

#24for2019 #drupal #gatsbyjs

As I have begun working with GatsbyJS once again, I am trying to find a way to work with GatsbyJS and Drupal locally in a somewhat streamlined fashion. Honestly, serving Drupal over PHP's built-in server and using the gatsby develop and gatsby serve command work just fine. But, I love tooling.

[2019-12-02]

Improving the handling of Drupal JSON:API hyperlinks in GatsbyJS

#24for2019 #drupal #gatsbyjs

I have been tracking down an interesting quirk when parsing JSON:API resources with the Drupal source plugin for GatsbyJS. I have a test environment with the JSON:API Schema module installed and was receiving errors about data in the links property.

[2019-12-01]

Revisiting GatsbyJS and Drupal Commerce

#24for2019 #drupal #gatsbyjs #decoupled

The Drupal community has taken to GatsbyJS, the React framework that lets you easily build static (and more) websites (or applications.) And, honestly, this makes a lot of sense. Drupal is a great content management system and it even has ways to create microsites within one installation (thanks to techniques like the Domain module.)