Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

156
Vistas
connectionFilterRelations not working with postgraphile-plugin-connection-filter

I am trying to filter my results based on a one to many relationship and outlined in the documentation for postgraphile-plugin-connection-filter that outlines how to do it. I have enabled this but the options are not showing up.

I have reset the server to make sure the latest has been taken, but still not luck.

In short, the connection filter relations is not working at all. If it were, I would see the optionsenter image description here

Config

postgraphile(process.env.DATABASE_URL || dbUrl, 'public', {
  appendPlugins: [ConnectionFilterPlugin],
  connectionFilterRelations: true,
  watchPg: true,
  graphiql: true,
  connectionFilterAllowNullInput: true,
  connectionFilterAllowEmptyObjectInput: true,
  enhanceGraphiql: true,
  enableQueryBatching: true,
})

##Query

query ($firstname: String) {
  allArtists(filter: {firstname: {likeInsensitive: $firstname}, awardsByArtistIdExists: true }) {
    edges {
      node {
        artistId
        firstname
        nationality

error

{
  "errors": [
    {
      "message": "Field \"awardsByArtistIdExists\" is not defined by type \"ArtistFilter\".",
      "locations": [
        {
          "line": 2,
          "column": 65
        }
      ]
    }
  ]
}

Here is the filter enter image description here

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda