Closed
Description
This minimal schema:
schema {
query: RootQuery
}
type RootQuery {
test: Int!
}
produces this ApiSchema.h
, which cloese the object
namespace in the wrong location:
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#pragma once
#include <graphqlservice/GraphQLService.h>
#include <memory>
#include <string>
#include <vector>
namespace graphql {
namespace introspection {
class Schema;
class ObjectType;
} /* namespace introspection */
namespace roll42 {
namespace object {
class RootQuery;
class Operations : public service::Request {
public:
Operations(std::shared_ptr<object::RootQuery> query);
private:
std::shared_ptr<object::RootQuery> _query;
};
void AddRootQueryDetails(std::shared_ptr<introspection::ObjectType> typeRootQuery,
std::shared_ptr<introspection::Schema> schema);
void AddTypesToSchema(std::shared_ptr<introspection::Schema> schema);
} /* namespace object */
} /* namespace roll42 */
} /* namespace graphql */
This only happens when --separate-files
is used. This happens both with the latest master and v3.0.3.
Metadata
Metadata
Assignees
Labels
No labels