any decent docs on how to work on field resolver f...
# prisma-whats-new
j
any decent docs on how to work on field resolver functions like having a field which runs a resolver function in a query?
k
in your api gateway?
I implemented that the other day like this
https://github.com/KATT/whycantihaveidinmyname/blob/master/src/resolvers/index.ts#L15
category
is a “virtual” field in my gateway that depends on
categoryName
in the prisma endpoint
j
I have an external places db available via api which I want to integrate with my graphcool resources. So a normal query will be like having an extra field which resolves to a function which is wrapping the external API. I read about the field resolver functions but haven't found any decent docs on it. Is it possible to do it without prisma?
k
j
client side isn't a good option for what i need, not sure about the server side wrapper either. can it be done on graphcool because I am not running any graphql server
not field resolvers
only functions
i’d recommend running a wrapping server, makes things like that neat
j
hmmm, will look around a bit more. thanks for the help