Hi guys,
I was trying to use schema directive to validate my input field using INPUT_OBJECT_FIELD.
It is working fine for OBJECT_FIELD where i’m using this code
fieldConfig.resolve = function (source, args, context, info) {
}
but when i use the same in INPUT_OBJECT_FIELD it give me error TestInput.id field has a resolve property, but Input Types cannot define resolvers.
here is the code i’m trying.
Any help