Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

157
Views
connectionFilterRelations no funciona con postgraphile-plugin-connection-filter

Estoy tratando de filtrar mis resultados en función de una relación de uno a muchos y se describe en la documentación de postgraphile-plugin-connection-filter que describe cómo hacerlo. He habilitado esto pero las opciones no aparecen.

He reiniciado el servidor para asegurarme de que se ha tomado lo último, pero aún no tuve suerte.

En resumen, las relaciones del filtro de conexión no funcionan en absoluto. Si lo fuera, vería las opciones. ingrese la descripción de la imagen aquí

Configuración

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

##Consulta

 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 } ] } ] }

aqui esta el filtro ingrese la descripción de la imagen aquí

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!