Use relationship data in slice machine

I love the slice machine.

I'm working on a project where we are building our own "essential-slices". For a lot of client we need slices who have a relationship. Let's say on the homepage we have a section "featured work" (see picture attached).

"Work" is a different custom type and from the "Page" custom type we are referring in the slice "featured work" to the custom type "Work" using a relationship.

Currently we are manually querying the relationship and then the relationship fields will be returned. (we are not using the slice machine yet)

We would love to be using the slice machine library. Is there a way to do this using the slice machine? I couldn't find it and I think a lot of people are interested in a feature like that. This is currently limiting to really start using the slice machine.

Hey Bob It's so good to hear that you're enjoying working with Prismic and Slice Machine :blush:

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.