Skip to content

Commit

Permalink
build(backend): fix graphql schema loading in docker (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
tericcabrel authored Jul 14, 2024
1 parent d308d98 commit 5b95598
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/eleven-glasses-hang.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@snipcode/backend': patch
---

Fix graphql schema loading
2 changes: 0 additions & 2 deletions apps/backend/.dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,6 @@ dist

# vuepress v2.x temp and cache directory
.temp
.cache

# Docusaurus cache and generated files
.docusaurus

Expand Down
2 changes: 1 addition & 1 deletion apps/backend/src/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const explorerPlugin: ApolloServerPlugin[] = IS_DEV ? [ApolloServerPluginLanding
nodeEnv: configService.get('NODE_ENV'),
playground: false,
plugins: [...explorerPlugin],
typePaths: ['./src/features/**/*.graphql'],
typePaths: ['./**/*.graphql'],
};
},
}),
Expand Down

0 comments on commit 5b95598

Please sign in to comment.