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

TypeError: rawData.some is not a function #199

Open
CloudByteCH opened this issue Aug 9, 2023 · 0 comments
Open

TypeError: rawData.some is not a function #199

CloudByteCH opened this issue Aug 9, 2023 · 0 comments

Comments

@CloudByteCH
Copy link

I'm getting TypeError: rawData.some is not a function when trying to use a some filter.

This is the query:

query Peers($serviceId: Int!) {
  peers: allPeers(filter: {
    peerServiceEndletsByPeerId: {
      some: {
        serviceEndletByServiceEndletId: {
          serviceId: { equalTo: $serviceId }
        }
      }
    }
  }) {
    nodes {
      id
      peerServiceEndlets: peerServiceEndletsByPeerId {
        nodes {
          id
          serviceEndlet: serviceEndletByServiceEndletId {
            id
            serviceId
            name
            endlet: endletByEndletId {
              id
              name
            }
          }
        }
      }
    }
  }
}

The relevant table relationships are:

peers:

  • id

peer_service_endlets:

  • id
  • peer_id
  • service_endlet_id

service_endlets:

  • id
  • service_id
  • endlet_id

endlets:

  • id

services:

  • id
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant