Skip to content

TypeError: rawData.some is not a function #199

Open
@CloudByteCH

Description

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions