UNPKG
@danhu90/work-template-cli
Version:
latest (1.0.3)
1.0.3
1.0.2
A CLI to bootstrap my projects
github.com/danhu90/work-template-cli
danhu90/work-template-cli
@danhu90/work-template-cli
/
templates
/
gql-ts-prisma-codegen-apolloserver
/
src
/
graphql
/
schema
/
schema.ts
10 lines
(8 loc)
•
277 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
import
{ buildFederatedSchema }
from
'@apollo/federation'
;
import
resolvers
from
'@src/graphql/schema/resolvers/resolvers'
;
import
typeDefs
from
'@src/graphql/schema/typedefs/typeDefs'
;
const
schema =
buildFederatedSchema
({ typeDefs, resolvers, });
export
default
schema;