Is there a way to get variables that are passed other than a file related stuff in the ctx object?
I have a mutation
mutation upload($file: Upload!, $entityId: String!) { uploadFile(file: $file, entityId: $entityId) { publicURL } }
I am passing entityId but when I try to look for it in ctx.params it's just a stream obj and ctx.meta contain file meta. I also need to get entityId. Is there a way to get that?
@shawnmcknight
Is there a way to get variables that are passed other than a file related stuff in the ctx object?
I have a mutation
mutation upload($file: Upload!, $entityId: String!) { uploadFile(file: $file, entityId: $entityId) { publicURL } }I am passing entityId but when I try to look for it in ctx.params it's just a stream obj and ctx.meta contain file meta. I also need to get entityId. Is there a way to get that?
@shawnmcknight