Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

154
Visualizações
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 à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda