Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ Support filtering on linked nodes #3691

Merged
merged 3 commits into from
Feb 8, 2018

Commits on Jan 25, 2018

  1. ✨ Support filtering on linked nodes

    The filtering is done by extracting all the related nodes using `extractFieldExample`. The example values are then cached to save some time. (As of this patch, caching is not tested automatically)
    
    Further linking are disabled to avoid cyclic dependencies (input fields only).
    
    TODO: Filtering on nodes linked by mappings and File
    
    Note: If linking is done via array of IDs, only the structure of the first item is extracted. I'll be happy to add union support if someone can show me how to `$in` filter on an array of object.
    
    Related gatsbyjs#3613 gatsbyjs#3190
    alvinthen committed Jan 25, 2018
    Configuration menu
    Copy the full SHA
    cbfc16e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4f4e73c View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2018

  1. Configuration menu
    Copy the full SHA
    5240bd5 View commit details
    Browse the repository at this point in the history