It looks like documentId already is optional, seeing as there isn’t a “!” at the end of it. You don’t have a resolver for it though, which might be causing the error when you query it. I’m not a GraphQL expert though so I could be missing other details.