Skip to content

renamed feature flags remote config#426

Merged
n13 merged 3 commits intomainfrom
n13/remote_config
Mar 27, 2026
Merged

renamed feature flags remote config#426
n13 merged 3 commits intomainfrom
n13/remote_config

Conversation

@n13
Copy link
Copy Markdown
Collaborator

@n13 n13 commented Mar 27, 2026

it's not just feature flags, that's why

Pure rename PR - nothing else changed, just class names and filenames.

void main() {
group('API Contract Tests', () {
test('Remote Feature Flags API exactly matches FeatureFlagsModel properties', () async {
test('Remote Feature Flags API exactly matches RemoteConfigModel properties', () async {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You forgot to change this one :)

FeatureFlagsModel.fromJson(data);
RemoteConfigModel.fromJson(data);
} catch (e) {
fail('Failed to parse feature flags model: $e');
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also this one :)

group('API Contract Tests', () {
test('Remote Feature Flags API exactly matches FeatureFlagsModel properties', () async {
test('Remote Feature Flags API exactly matches RemoteConfigModel properties', () async {
final Uri uri = Uri.parse('${AppConstants.taskMasterEndpoint}/feature-flags/wallet');
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will update the endpoint later, so it's safe to leave for now

Copy link
Copy Markdown
Collaborator

@dewabisma dewabisma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just need to update the contract test later

@n13 n13 merged commit 61f8cc1 into main Mar 27, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants