Skip to content

Conversation

sameerank
Copy link
Contributor

@sameerank sameerank commented Nov 20, 2024


labels: mergeable

Fixes: #issue

Motivation and Context

Description

#129 only has a getStringAssignment method

This PR expands the get methods to all the supported types.

How has this been tested?

@sameerank sameerank marked this pull request as ready for review November 21, 2024 05:25
Copy link
Member

@leoromanovsky leoromanovsky left a comment

Choose a reason for hiding this comment

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

test cases lgtm

},
flags: {
'new-user-onboarding': {
'string-flag': {
Copy link
Member

Choose a reason for hiding this comment

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

nice - thanks for putting this together. I will adjust the API to match ✔️

…eeran/ff-3588-get-assignment-methods-for-all-types
@sameerank sameerank merged commit ef4b888 into sameeran/ff-3566-create-eppoprecomputedclient Nov 21, 2024
8 checks passed
@sameerank sameerank deleted the sameeran/ff-3588-get-assignment-methods-for-all-types branch November 21, 2024 09:04
sameerank added a commit that referenced this pull request Nov 26, 2024
* New interfaces for precomputed response

* Fetch and store precomputed flags

* Make hydrateConfigurationStore more reusable

* Add a precomputed requestor test

* Test format in response

* Tests for the precomputed client

* Comment for why eval details can be null

* Comment clean up

* tsc fixes

* Fix more tests

* Add to exports

* Include logging for format

* Fix tsc

* Fix test

* feat: precomputed assignment methods for supported types (#135)

* Add methods for boolean, integer, numeric, and json types

* Add tests for typed assignments

* Remove eslint warnings

* v4.3.1-alpha.0

* Adjust api endpoing for precomputed

* Add PrecomputedFlag interface to export

* Log format

* Fix test

* v4.3.1-alpha.1

* fix: post with http client (#137)

* Add method for post

* Change request to a post

* Fix payload format

* v4.3.1-alpha.2

* Fix tsc issue

* v4.5.0
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