uc-cdis / peregrine

GraphQL search API service
Apache License 2.0
12 stars 9 forks source link

PXD-398 ⁃ peregrine not properly handling numeric attribute filters in graphql #40

Open frickjack opened 6 years ago

frickjack commented 6 years ago

For example - @cgmeyer reports in bloodpac:

This query:

{ 
    submitted_unaligned_reads (file_size: 214432432){
        file_name
        file_size
        md5sum
        submitter_id
        project_id
    }
}

incorrectly returns no results - it should include the matching records from this:

{ 
    submitted_unaligned_reads (project_id:"bpa-USC_OPT1_T1"){
        file_name
        file_size
        md5sum
        submitter_id
        project_id
    }
}