Skip to content

using wundergraph with postgres #821

Answered by steveeq1
steveeq1 asked this question in Q&A
Discussion options

You must be logged in to vote

I found the solution, so I am answering my own message so others can benefit.

nextjs was not loading the postgres introspect thing because there were TWO "configureWunderGraphApplication()" directives. There was another main one with more stuff in it. Within that I changed:
apis: [spaceX]

to

apis: [spaceX, myDB]

So now it works and a new file was created under general/introspection/database that seems to load the schema from my database

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by steveeq1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant