I use the Apollo Federation to manage a GraphQL gateway.
And the histories Restful docs had many many conflict types, Such as Product, Order, Pagination
So I want to add a namespace for each transformed API
Changes
Add an option graphQLSchemaPrefix to add constants prefix for each generated GraphQL schema
In case, when passing the option graphQLSchemaPrefix such as: ModuleA,
And the API docs see like:
Background:
I use the
Apollo Federation
to manage a GraphQL gateway. And the histories Restful docs had many many conflict types, Such asProduct
,Order
,Pagination
So I want to add anamespace
for each transformed APIChanges
graphQLSchemaPrefix
to add constants prefix for each generated GraphQL schemaIn case, when passing the option
graphQLSchemaPrefix
such as:ModuleA
, And the API docs see like:The generated schema see like: