private IGetMessages_PersonByEmail_Messages_Nodes_Recipient MapNonNullableIGetMessages_PersonByEmail_Messages_Nodes_Recipient(global::StrawberryShake.EntityId entityId) { if (entityId.Name.Equals("Person", global::System.StringComparison.Ordinal)) { return(_getMessages_PersonByEmail_Messages_Nodes_Recipient_PersonFromPersonEntityMapper.Map( _entityStore.GetEntity <PersonEntity>(entityId) ?? throw new global::StrawberryShake.GraphQLClientException())); } throw new global::System.NotSupportedException(); }
private IReadMessages_Message MapNonNullableIReadMessages_Message(global::StrawberryShake.EntityId entityId) { if (entityId.Name.Equals("Message", global::System.StringComparison.Ordinal)) { return(_readMessages_Message_MessageFromMessageEntityMapper.Map( _entityStore.GetEntity <MessageEntity>(entityId) ?? throw new global::StrawberryShake.GraphQLClientException())); } throw new global::System.NotSupportedException(); }