How to use the react-relay.QL function in react-relay

To help you get started, weโ€™ve selected a few react-relay examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github buildkite / frontend / app / components / pipeline / BuildsNavigation.js View on Github external
    pipeline: () => Relay.QL`
      fragment on Pipeline {
        id
        slug
        organization {
          slug
        }
        scheduledBuilds: builds(state: SCHEDULED) {
          count
        }
        runningBuilds: builds(state: RUNNING) {
          count
        }
      }
    `
  }
github rodrigopivi / PlayApp / src / components / MainLayout / MainLayoutRender.native.tsx View on Github external
    public static queries: any = { root: () => Relay.QL`query { root }` }
    public static routeName: any = 'PlayAppRoute'
github alloy / relational-theory / app / containers / react-jss / artist / artwork.js View on Github external
    artwork: () => Relay.QL`
      fragment on Artwork {
        title
        artists {
          name
        }
        image {
          url
        }
      }
    `,
  },
github MikeBild / graphql-pouch / example / cms-relay / src / app / components / PostCreate.jsx View on Github external
getSubscription() {
    return Relay.QL`
      subscription {
        addPostSubscription(input: $input) {
          ... on Post {
            id
          }
        }
      }
    `;
  }
github papigers / question-it / shared / queries / nodeQuery.js View on Github external
  node: () => Relay.QL`
    query {
      node(id: $id),
    }`,
};
github alex-cory / portfolio / src / components / App.jsx View on Github external
    viewer: () => Relay.QL`
      fragment on User {
        ${MediumPosts.getFragment('viewer')}
        ${PlayList.getFragment('viewer')}
      }
    `,
  },
github artsy / emission / src / lib / Components / Inbox / Conversations / Previews / ImagePreview.tsx View on Github external
    imageAttachment: () => Relay.QL`
      fragment on AttachmentType {
        id
        download_url
      }
    `,
  },