Skip to content

Conversation

felipecsl
Copy link
Contributor

@felipecsl felipecsl commented Jun 4, 2024


labels: mergeable

Fixes: EPD-2310

Motivation and Context

The README refers to a getBooleanAssignment method that doesnt exist.
From Slack discussion redacted for privacy reasons

According to Semver, this will require a minor version bump since this is a backwards compatible change.

Description

  • Deprecate getBoolAssignment
  • Redirect getBoolAssignment to getBooleanAssignment
  • Add some JSDocs because why not

How has this been tested?

Ran unit tests

@felipecsl felipecsl requested review from aarsilv and schmit and removed request for aarsilv June 4, 2024 23:58
@felipecsl
Copy link
Contributor Author

Once merged, this will require docs updates to https://github.com/Eppo-exp/js-client-sdk/blob/main/README.md#assign-anywhere

Copy link
Contributor

@schmit schmit left a comment

Choose a reason for hiding this comment

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

🔥

Don't forget to bump version (and also need to update downstream libs to use the new version)

@felipecsl
Copy link
Contributor Author

🔥

Don't forget to bump version (and also need to update downstream libs to use the new version)

@schmit should I do that in the same PR or a follow up one?

@felipecsl
Copy link
Contributor Author

felipecsl commented Jun 5, 2024

alright I went ahead and bumped the minor version to make this atomic, PTAL - couldn't find a changelog file though

@schmit
Copy link
Contributor

schmit commented Jun 5, 2024

Yup I usually do it in the same PR

@felipecsl felipecsl merged commit c3795e3 into main Jun 5, 2024
@felipecsl felipecsl deleted the felipecsl/epd-2310-sdk-deprecate-getboolassignment-and-create branch June 5, 2024 00:28
@felipecsl
Copy link
Contributor Author

I'll publish this and then update js-client-sdk next

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