Type '{0}' cannot be exported as a schema type because it is an open generic type. You can only export a generic type if ...