Skip to content

Conversation

lahirumaramba
Copy link
Member

  • Add support for RC Parameter Groups
  • Add unit tests
  • Add integration tests

Copy link
Contributor

@hiranya911 hiranya911 left a comment

Choose a reason for hiding this comment

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

Loos good. Just one question, and make sure we have test coverage for the case where the groups are either empty or undefined on the response.

@lahirumaramba
Copy link
Member Author

@hiranya911 Thanks! Added more unit tests to cover cases where conditions, parameters, and parameterGroups are not present in the API response.

@lahirumaramba lahirumaramba requested a review from egilmorez April 6, 2020 22:29
@lahirumaramba
Copy link
Member Author

@egilmorez please review the docs for Remote Config Parameter Groups. Thank you!!

Copy link
Contributor

@hiranya911 hiranya911 left a comment

Choose a reason for hiding this comment

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

LGTM

});
});

it('should resolve with conditions:[] when no conditions present in the response', () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

There's a lot of redundancy in these tests. As a future improvement, think about ways to clean it up a bit.

@hiranya911 hiranya911 assigned egilmorez and unassigned hiranya911 Apr 6, 2020
src/index.d.ts Outdated

/**
* Map of parameter group names to their parameter group objects.
* A group's name is mutable but must be unique among groups in the config.
Copy link
Contributor

Choose a reason for hiding this comment

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

Not sure, but where we say "the config" here, do we mean the Remote Config template? Or maybe the RemoteConfig object, as you mention it in line 891?

Copy link
Member Author

Choose a reason for hiding this comment

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

Good catch. It should be Remote Config template. Updated in both places. Thanks!

Copy link
Contributor

@egilmorez egilmorez left a comment

Choose a reason for hiding this comment

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

LG! Just one question, thanks.

@lahirumaramba lahirumaramba merged commit 8d65c34 into remote-config Apr 9, 2020
@lahirumaramba lahirumaramba deleted the lm-remoteconfig-paramg branch April 9, 2020 16:35
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.

3 participants