'using where argument from contentful

I need to query related content-types. I understand I can use "linkFrom". However, I am unable to use the where argument on the entries that are "linked from" another entry. So, I can do the following.

   postCollection(limit: 1, skip: 1, where: {some_value: true}) {
          items {
            name
          }
        }

However, if I need to extend my query and use linkedFrom. I get an "unknown argument on field" where.

  {
      tagsCollection(where: {name: "foo"}) {
        items {
          linkedFrom {
            postCollection(limit: 1, skip: 1, where: {some_value: true}) {
              items {
                name
              }
            }
          }
        }
      }    
}

I think the issue is that I need to define what type "linkedFrom" is expecting so that it can resolve the where argument. I'm unsure where this would reside.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source