Skip to content

root value for user types #23

@pvlkhm

Description

@pvlkhm

Describe the bug
root value to resolver of filed with user type always get nothing

To Reproduce
create scheme with any field with user-created type
like
Book {
author: Person
}

Expected behavior
root should be the parent Dict (as for GraphQL basic types resolvers)

Additional context
Here the line, where this nothing is passed: can we use defined root variable instead of nothing?

root= resolvers[type_padre][nombre_nodo](nothing,args,ctx,Dict("fieldName"=>nombre_nodo,"parentType"=>type_padre,"path"=>path,"returnType"=> tipoactual))

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions