-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add build configs to frontend #551
Conversation
254d0e5
to
dceef28
Compare
#!/bin/bash | ||
|
||
cp ../specs/backend-api.graphql schema.graphql | ||
fvm flutter pub run build_runner build --delete-conflicting-outputs | ||
rm schema.graphql |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the replacement for this?
if (buildConfig.featureFlags.developerFriendly) { | ||
debugPrint("No developers were harmed while developing this app."); | ||
} else { | ||
debugPrint("Developers were harmed while developing this app."); | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure about this :D
export type FeatureFlagsType = { | ||
// Enables additional debugging output for devs (i18n, redux, hidden cities, version). | ||
developerFriendly: boolean | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where do we use this ?
No description provided.