refactor(GraphQL): Pointer constraint input type as ID (#6020)

* refactor(GraphQL): Pointer constraint input type as ID

Redefines the Pointer constraint input type from a custom scalar to
a simple ID.

* fix: PR review requested changes
This commit is contained in:
Douglas Muraoka
2019-09-04 19:46:18 -03:00
committed by Antonio Davi Macedo Coelho de Castro
parent 34f1bf384d
commit f9b77c1bc7
5 changed files with 68 additions and 109 deletions

View File

@@ -62,12 +62,13 @@ const findObjects = async (
config,
auth,
info,
selectedFields
selectedFields,
fields
) => {
if (!where) {
where = {};
}
transformQueryInputToParse(where);
transformQueryInputToParse(where, fields);
const options = {};