Configure MongoDB / Atlas Data Source
The MongoDB data source introspects the database and generates a GraphQL schema.
databaseURL which is the connection string to the database. To avoid naming conflicts, you should also define an
The introspection result will be cached in the local file-system to make the development process faster. Otherwise, WunderGraph would introspect the database every time you change an operation.
If you're planning to frequently change the database schema, e.g. during development, you should specify the
pollingIntervalSeconds to 5 seconds for example. This will make WunderGraph introspect the database every 5 seconds. If the generated schema is changed, the file-system cache will be updated.