Skip to content

Commit

Permalink
[core] GraphQL: Include reference information on field filters
Browse files Browse the repository at this point in the history
  • Loading branch information
rexxars authored and saasen committed Feb 27, 2020
1 parent 9e6f69c commit ee57ee0
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ function createFieldFilters(objectType) {
.filter(field => field.type !== 'JSON' && field.kind !== 'List')
.map(field => ({
fieldName: field.fieldName,
type: `${typeAliases[field.type] || field.type}Filter`
type: `${typeAliases[field.type] || field.type}Filter`,
isReference: field.isReference
}))
}

Expand Down

0 comments on commit ee57ee0

Please sign in to comment.