You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We could add a properly like "environment" or "deployment" that defaults to the currently checked out branch, if not set. Otherwise, it could be overwritten via string. But I'm not yet 100% sure. Need to discuss within the team. What's your opinion on this?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Problem
At the moment the deployment name is always "main". I want to be able to configure that.
Suggested solution
Add 'deployment' field to ApplicationConfig and Application, and use it in resolveConfig() instead of the hard-coded 'main'.
then a user could configure the deployment within configureWunderGraphApplication()
Alternatives
Possibly allow overriding via an environment variable.
Additional context
wundergraph/packages/sdk/src/configure/index.ts
Line 303 in 97b29f2
wundergraph/packages/sdk/src/definition/index.ts
Line 53 in 97b29f2
The text was updated successfully, but these errors were encountered: