Nenad Filipovic

Results 10 comments of Nenad Filipovic

Ok. lets try Transport ```ts import build from 'pino-abstract-transport'; export default async function (options) { return build(async (source) => { for await (let obj of source) { console.log(obj); } });...

@mcollina any chance to look at this?

Thanks, I was banging my head so much with inconsistencies with console.log.

Maybe this can help you https://github.com/graphql-nexus/nexus/issues/907

That error is thrown when you have nonNull field but still provide null or undefined value.

I don't think its possible, it is probably how database work. Database will return deleted user only and not its relations.

Here is my solution, key was to provide return type of getServerSideProps into GetServerSideProps type, here is example: https://gist.github.com/nenadfilipovic/f2dd9cb903da93a7d14ed1de6b3493b1

It probably works in first case because return type is ```{ [key: string]: any }``` That is default type for props object